home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / falcon / falclib4.lzh / DOC / FALCLIB.TEX < prev    next >
LaTeX Document  |  1994-10-13  |  15.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, Non-ISO extended-ASCII text, with CRLF line terminators default
100% TrID LaTeX 2e document (with rem) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 66 6f 72 6d 61 74 20 | 6c 61 74 65 78 0d 0a 0d |%format |latex...|
|00000010| 0a 5c 64 6f 63 75 6d 65 | 6e 74 73 74 79 6c 65 5b |.\docume|ntstyle[|
|00000020| 64 69 6e 5f 61 34 5d 7b | 61 72 74 69 63 6c 65 7d |din_a4]{|article}|
|00000030| 0d 0a 5c 65 6d 65 72 67 | 65 6e 63 79 73 74 72 65 |..\emerg|encystre|
|00000040| 74 63 68 3d 31 30 30 70 | 74 0d 0a 0d 0a 5c 74 69 |tch=100p|t....\ti|
|00000050| 74 6c 65 7b 44 65 76 70 | 61 63 20 46 61 6c 63 6f |tle{Devp|ac Falco|
|00000060| 6e 20 4c 69 62 72 61 72 | 79 7d 0d 0a 5c 61 75 74 |n Librar|y}..\aut|
|00000070| 68 6f 72 7b 4a 6f 68 61 | 6e 20 4b 61 72 6c 73 73 |hor{Joha|n Karlss|
|00000080| 6f 6e 20 5c 5c 20 65 6d | 61 69 6c 3a 20 64 39 32 |on \\ em|ail: d92|
|00000090| 6a 6b 40 65 66 64 2e 6c | 74 68 2e 73 65 7d 0d 0a |jk@efd.l|th.se}..|
|000000a0| 5c 64 61 74 65 20 7b 56 | 65 72 73 69 6f 6e 20 34 |\date {V|ersion 4|
|000000b0| 20 5c 5c 20 31 33 20 4f | 63 74 6f 62 65 72 20 31 | \\ 13 O|ctober 1|
|000000c0| 39 39 34 7d 0d 0a 0d 0a | 5c 64 65 66 5c 66 69 6c |994}....|\def\fil|
|000000d0| 65 20 23 31 2e 53 20 20 | 7b 5c 73 75 62 73 65 63 |e #1.S |{\subsec|
|000000e0| 74 69 6f 6e 7b 7b 5c 73 | 63 20 23 31 7d 7d 7d 0d |tion{{\s|c #1}}}.|
|000000f0| 0a 5c 64 65 66 5c 72 6f | 75 74 20 40 23 31 20 23 |.\def\ro|ut @#1 #|
|00000100| 32 20 28 23 33 29 20 7b | 7b 5c 62 66 20 40 23 31 |2 (#3) {|{\bf @#1|
|00000110| 7d 5c 5c 20 23 32 20 5c | 5c 20 7b 5c 73 6d 61 6c |}\\ #2 \|\ {\smal|
|00000120| 6c 20 28 23 33 29 5c 5c | 7d 7d 0d 0a 5c 64 65 66 |l (#3)\\|}}..\def|
|00000130| 5c 72 6f 75 74 69 6e 20 | 40 23 31 20 23 32 20 49 |\routin |@#1 #2 I|
|00000140| 6e 20 23 33 20 28 23 34 | 29 20 7b 7b 5c 62 66 20 |n #3 (#4|) {{\bf |
|00000150| 40 23 31 7d 5c 5c 20 23 | 32 20 5c 5c 20 7b 5c 73 |@#1}\\ #|2 \\ {\s|
|00000160| 6c 20 49 6e 20 23 33 7d | 20 5c 5c 20 7b 5c 73 6d |l In #3}| \\ {\sm|
|00000170| 61 6c 6c 20 28 23 34 29 | 5c 5c 7d 7d 0d 0a 5c 64 |all (#4)|\\}}..\d|
|00000180| 65 66 5c 72 6f 75 74 69 | 6e 6f 75 74 20 40 23 31 |ef\routi|nout @#1|
|00000190| 20 23 32 20 49 6e 20 23 | 33 20 4f 75 74 20 23 34 | #2 In #|3 Out #4|
|000001a0| 20 28 23 35 29 20 7b 7b | 5c 62 66 20 40 23 31 7d | (#5) {{|\bf @#1}|
|000001b0| 5c 5c 20 23 32 20 5c 5c | 20 7b 5c 73 6c 20 49 6e |\\ #2 \\| {\sl In|
|000001c0| 20 23 33 7d 0d 0a 5c 5c | 20 7b 5c 73 6c 20 4f 75 | #3}..\\| {\sl Ou|
|000001d0| 74 20 23 34 7d 20 5c 5c | 20 7b 5c 73 6d 61 6c 6c |t #4} \\| {\small|
|000001e0| 20 28 23 35 29 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c | (#5)\\}|}..\def\|
|000001f0| 72 6f 75 74 6f 75 74 20 | 40 23 31 20 23 32 20 4f |routout |@#1 #2 O|
|00000200| 75 74 20 23 33 20 28 23 | 34 29 20 7b 7b 5c 62 66 |ut #3 (#|4) {{\bf|
|00000210| 20 40 23 31 7d 5c 5c 20 | 23 32 20 5c 5c 20 7b 5c | @#1}\\ |#2 \\ {\|
|00000220| 73 6c 20 4f 75 74 20 23 | 33 7d 20 5c 5c 20 7b 5c |sl Out #|3} \\ {\|
|00000230| 73 6d 61 6c 6c 20 28 23 | 34 29 5c 5c 7d 7d 0d 0a |small (#|4)\\}}..|
|00000240| 5c 64 65 66 5c 6d 61 63 | 72 6f 69 6e 65 78 20 40 |\def\mac|roinex @|
|00000250| 23 31 20 6d 61 63 72 6f | 20 23 32 20 49 6e 20 23 |#1 macro| #2 In #|
|00000260| 33 20 65 78 2e 20 23 34 | 20 9c 20 7b 5c 62 66 20 |3 ex. #4| . {\bf |
|00000270| 40 23 31 20 7b 5c 65 6d | 20 6d 61 63 72 6f 7d 20 |@#1 {\em| macro} |
|00000280| 5c 72 6d 20 5c 5c 20 23 | 32 0d 0a 5c 5c 20 7b 5c |\rm \\ #|2..\\ {\|
|00000290| 73 6c 20 49 6e 20 23 33 | 7d 20 5c 5c 20 7b 5c 73 |sl In #3|} \\ {\s|
|000002a0| 6d 61 6c 6c 7b 5c 74 74 | 20 65 78 20 23 34 7d 5c |mall{\tt| ex #4}\|
|000002b0| 5c 7d 7d 0d 0a 5c 64 65 | 66 5c 72 6f 75 74 69 6e |\}}..\de|f\routin|
|000002c0| 65 78 20 40 23 31 20 23 | 32 20 49 6e 20 23 33 20 |ex @#1 #|2 In #3 |
|000002d0| 28 23 34 29 20 65 78 2e | 20 23 35 20 9c 20 7b 7b |(#4) ex.| #5 . {{|
|000002e0| 5c 62 66 20 40 23 31 7d | 5c 5c 20 23 32 20 5c 5c |\bf @#1}|\\ #2 \\|
|000002f0| 20 7b 5c 73 6c 20 49 6e | 20 23 33 7d 20 5c 5c 20 | {\sl In| #3} \\ |
|00000300| 7b 5c 73 6d 61 6c 6c 0d | 0a 28 23 34 29 7d 20 5c |{\small.|.(#4)} \|
|00000310| 5c 20 7b 5c 73 6d 61 6c | 6c 7b 5c 74 74 20 65 78 |\ {\smal|l{\tt ex|
|00000320| 20 23 35 7d 5c 5c 7d 7d | 0d 0a 5c 64 65 66 5c 72 | #5}\\}}|..\def\r|
|00000330| 6f 75 74 6f 75 74 65 78 | 20 40 23 31 20 23 32 20 |outoutex| @#1 #2 |
|00000340| 4f 75 74 20 23 33 20 28 | 23 34 29 20 65 78 2e 20 |Out #3 (|#4) ex. |
|00000350| 23 35 20 9c 20 7b 7b 5c | 62 66 20 40 23 31 7d 5c |#5 . {{\|bf @#1}\|
|00000360| 5c 20 23 32 20 5c 5c 20 | 7b 5c 73 6c 20 4f 75 74 |\ #2 \\ |{\sl Out|
|00000370| 20 23 33 7d 20 5c 5c 20 | 7b 5c 73 6d 61 6c 6c 0d | #3} \\ |{\small.|
|00000380| 0a 28 23 34 29 7d 20 5c | 5c 20 7b 5c 73 6d 61 6c |.(#4)} \|\ {\smal|
|00000390| 6c 7b 5c 74 74 20 65 78 | 20 23 35 7d 5c 5c 7d 7d |l{\tt ex| #5}\\}}|
|000003a0| 0d 0a 5c 64 65 66 5c 6d | 61 63 72 6f 69 6e 20 40 |..\def\m|acroin @|
|000003b0| 23 31 20 6d 61 63 72 6f | 20 23 32 20 49 6e 20 23 |#1 macro| #2 In #|
|000003c0| 33 20 28 23 34 29 20 7b | 5c 62 66 20 40 23 31 20 |3 (#4) {|\bf @#1 |
|000003d0| 7b 5c 65 6d 20 6d 61 63 | 72 6f 7d 20 5c 72 6d 20 |{\em mac|ro} \rm |
|000003e0| 5c 5c 20 23 32 0d 0a 5c | 5c 20 7b 5c 73 6c 20 49 |\\ #2..\|\ {\sl I|
|000003f0| 6e 20 23 33 7d 20 5c 5c | 20 7b 5c 73 6d 61 6c 6c |n #3} \\| {\small|
|00000400| 20 28 23 34 29 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c | (#4)\\}|}..\def\|
|00000410| 6d 61 63 72 6f 20 40 23 | 31 20 6d 61 63 72 6f 20 |macro @#|1 macro |
|00000420| 23 32 20 28 23 33 29 20 | 7b 5c 62 66 20 40 23 31 |#2 (#3) |{\bf @#1|
|00000430| 20 7b 5c 65 6d 20 6d 61 | 63 72 6f 7d 20 5c 72 6d | {\em ma|cro} \rm|
|00000440| 20 5c 5c 20 23 32 20 5c | 5c 20 7b 5c 73 6d 61 6c | \\ #2 \|\ {\smal|
|00000450| 6c 20 28 23 33 29 5c 5c | 7d 7d 0d 0a 5c 64 65 66 |l (#3)\\|}}..\def|
|00000460| 5c 72 6f 75 74 69 6e 6f | 75 74 65 78 20 40 23 31 |\routino|utex @#1|
|00000470| 20 23 32 20 49 6e 20 23 | 33 20 4f 75 74 20 23 34 | #2 In #|3 Out #4|
|00000480| 20 28 23 35 29 20 65 78 | 2e 20 23 36 20 9c 20 7b | (#5) ex|. #6 . {|
|00000490| 7b 5c 62 66 20 40 23 31 | 7d 5c 5c 20 23 32 20 5c |{\bf @#1|}\\ #2 \|
|000004a0| 5c 0d 0a 7b 5c 73 6c 20 | 49 6e 20 23 33 7d 20 5c |\..{\sl |In #3} \|
|000004b0| 5c 20 7b 5c 73 6c 20 4f | 75 74 20 23 34 7d 20 5c |\ {\sl O|ut #4} \|
|000004c0| 5c 20 7b 5c 73 6d 61 6c | 6c 20 28 23 35 29 7d 20 |\ {\smal|l (#5)} |
|000004d0| 5c 5c 20 7b 5c 73 6d 61 | 6c 6c 7b 5c 74 74 20 65 |\\ {\sma|ll{\tt e|
|000004e0| 78 20 23 36 7d 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c |x #6}\\}|}..\def\|
|000004f0| 65 78 20 65 78 2e 20 23 | 31 20 9c 20 7b 7b 5c 73 |ex ex. #|1 . {{\s|
|00000500| 6d 61 6c 6c 20 7b 5c 74 | 74 20 65 78 20 23 31 7d |mall {\t|t ex #1}|
|00000510| 5c 5c 7d 7d 0d 0a 5c 64 | 65 66 5c 65 71 75 20 23 |\\}}..\d|ef\equ #|
|00000520| 31 20 45 51 55 20 23 32 | 20 7b 20 23 31 20 7b 5c |1 EQU #2| { #1 {\|
|00000530| 65 6d 20 65 71 75 7d 20 | 23 32 20 5c 5c 7d 20 0d |em equ} |#2 \\} .|
|00000540| 0a 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 64 6f 63 75 |.....\be|gin{docu|
|00000550| 6d 65 6e 74 7d 0d 0a 5c | 74 77 6f 63 6f 6c 75 6d |ment}..\|twocolum|
|00000560| 6e 0d 0a 5c 6d 61 6b 65 | 74 69 74 6c 65 0d 0a 5c |n..\make|title..\|
|00000570| 74 61 62 6c 65 6f 66 63 | 6f 6e 74 65 6e 74 73 0d |tableofc|ontents.|
|00000580| 0a 0d 0a 0d 0a 5c 73 65 | 63 74 69 6f 6e 7b 49 6e |.....\se|ction{In|
|00000590| 74 72 6f 64 75 63 74 69 | 6f 6e 7d 0d 0a 0d 0a 5c |troducti|on}....\|
|000005a0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 45 61 73 79 20 |subsecti|on{Easy |
|000005b0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 7d 0d 0a 0d 0a |programm|ing}....|
|000005c0| 54 68 69 73 20 69 73 20 | 61 6e 20 61 73 73 65 6d |This is |an assem|
|000005d0| 62 6c 65 72 20 6c 69 62 | 72 61 72 79 20 66 6f 72 |bler lib|rary for|
|000005e0| 20 74 68 65 20 41 74 61 | 72 69 20 46 61 6c 63 6f | the Ata|ri Falco|
|000005f0| 6e 2e 20 42 79 20 75 73 | 69 6e 67 20 74 68 69 73 |n. By us|ing this|
|00000600| 20 49 20 68 6f 70 65 0d | 0a 74 6f 20 6d 61 6b 65 | I hope.|.to make|
|00000610| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 61 20 62 | program|ming a b|
|00000620| 69 74 20 66 61 73 74 65 | 72 20 61 6e 64 20 65 61 |it faste|r and ea|
|00000630| 73 69 65 72 2e 20 49 74 | 20 69 6e 63 6c 75 64 65 |sier. It| include|
|00000640| 73 20 61 20 6c 6f 74 20 | 6f 66 20 73 75 62 72 6f |s a lot |of subro|
|00000650| 75 74 69 6e 65 73 0d 0a | 77 68 69 63 68 20 6d 6f |utines..|which mo|
|00000660| 73 74 20 61 73 73 65 6d | 62 6c 65 72 20 70 72 6f |st assem|bler pro|
|00000670| 67 72 61 6d 6d 65 72 73 | 20 75 73 65 20 71 75 69 |grammers| use qui|
|00000680| 74 65 20 66 72 65 71 75 | 65 6e 74 6c 79 20 61 73 |te frequ|ently as|
|00000690| 20 77 65 6c 6c 20 61 73 | 20 73 6f 6d 65 0d 0a 6c | well as| some..l|
|000006a0| 65 73 73 20 66 72 65 71 | 75 65 6e 74 6c 79 20 75 |ess freq|uently u|
|000006b0| 73 65 64 20 67 72 61 70 | 68 69 63 20 72 6f 75 74 |sed grap|hic rout|
|000006c0| 69 6e 65 73 2e 20 49 20 | 68 61 76 65 20 74 65 73 |ines. I |have tes|
|000006d0| 74 65 64 20 61 6c 6c 20 | 72 6f 75 74 69 6e 65 73 |ted all |routines|
|000006e0| 0d 0a 61 6e 64 20 74 68 | 65 79 20 73 65 65 6d 20 |..and th|ey seem |
|000006f0| 74 6f 20 77 6f 72 6b 20 | 6f 6b 2c 20 62 75 74 20 |to work |ok, but |
|00000700| 49 20 63 61 6e 27 74 20 | 67 75 61 72 61 6e 74 65 |I can't |guarante|
|00000710| 65 20 69 74 2e 20 46 6f | 72 20 65 76 65 72 79 74 |e it. Fo|r everyt|
|00000720| 68 69 6e 67 20 74 6f 20 | 77 6f 72 6b 0d 0a 70 72 |hing to |work..pr|
|00000730| 6f 70 65 72 6c 79 20 75 | 73 65 20 44 65 76 70 61 |operly u|se Devpa|
|00000740| 63 20 33 20 77 69 74 68 | 20 69 67 6e 6f 72 65 20 |c 3 with| ignore |
|00000750| 6d 75 6c 74 69 70 6c 65 | 20 69 6e 63 6c 75 64 65 |multiple| include|
|00000760| 73 20 61 63 74 69 76 65 | 2e 20 4d 6f 73 74 20 74 |s active|. Most t|
|00000770| 68 69 6e 67 73 0d 0a 77 | 69 6c 6c 20 70 72 6f 62 |hings..w|ill prob|
|00000780| 61 62 6c 79 20 77 6f 72 | 6b 20 6e 69 63 65 20 77 |ably wor|k nice w|
|00000790| 69 74 68 20 44 65 76 70 | 61 63 20 32 20 74 6f 6f |ith Devp|ac 2 too|
|000007a0| 2e 0d 0a 0d 0a 49 66 20 | 79 6f 75 20 68 61 76 65 |.....If |you have|
|000007b0| 20 6d 61 64 65 20 61 20 | 72 6f 75 74 69 6e 65 20 | made a |routine |
|000007c0| 49 20 77 6f 75 6c 64 20 | 61 70 70 72 65 63 69 61 |I would |apprecia|
|000007d0| 74 65 20 69 66 20 79 6f | 75 20 73 65 6e 74 20 69 |te if yo|u sent i|
|000007e0| 74 20 0d 0a 74 6f 20 6d | 65 2c 20 74 68 61 74 20 |t ..to m|e, that |
|000007f0| 77 61 79 20 49 20 63 6f | 75 6c 64 20 69 6e 63 6c |way I co|uld incl|
|00000800| 75 64 65 20 69 74 20 69 | 6e 20 74 68 65 20 46 61 |ude it i|n the Fa|
|00000810| 6c 63 6f 6e 20 4c 69 62 | 72 61 72 79 20 66 6f 72 |lcon Lib|rary for|
|00000820| 20 74 68 65 0d 0a 62 65 | 6e 65 66 69 74 20 6f 66 | the..be|nefit of|
|00000830| 20 65 76 65 72 79 6f 6e | 65 2e 20 50 6c 65 61 73 | everyon|e. Pleas|
|00000840| 65 20 73 65 6e 64 20 61 | 6e 79 20 71 75 65 73 74 |e send a|ny quest|
|00000850| 69 6f 6e 73 2c 20 62 75 | 67 72 65 70 6f 72 74 73 |ions, bu|greports|
|00000860| 0d 0a 6f 72 20 63 6f 6e | 74 72 69 62 75 74 69 6f |..or con|tributio|
|00000870| 6e 73 20 74 6f 20 6d 65 | 2e 20 4d 79 20 61 64 64 |ns to me|. My add|
|00000880| 72 65 73 73 20 69 73 20 | 61 74 20 74 68 65 20 65 |ress is |at the e|
|00000890| 6e 64 20 6f 66 20 74 68 | 69 73 20 64 6f 63 75 6d |nd of th|is docum|
|000008a0| 65 6e 74 2e 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 |ent.....|\subsect|
|000008b0| 69 6f 6e 7b 48 6f 77 20 | 74 6f 20 75 73 65 20 69 |ion{How |to use i|
|000008c0| 74 7d 09 09 09 0d 0a 09 | 09 09 0d 0a 46 6f 6c 6c |t}......|....Foll|
|000008d0| 6f 77 69 6e 67 20 61 72 | 65 20 73 68 6f 72 74 20 |owing ar|e short |
|000008e0| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 6f 66 20 |descript|ions of |
|000008f0| 61 6c 6c 20 69 6e 63 6c | 75 64 65 64 20 72 6f 75 |all incl|uded rou|
|00000900| 74 69 6e 65 73 2e 20 4d | 6f 73 74 20 61 72 65 0d |tines. M|ost are.|
|00000910| 0a 73 75 62 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |.subrout|ines and|
|00000920| 20 73 68 6f 75 6c 64 20 | 62 65 20 63 61 6c 6c 65 | should |be calle|
|00000930| 64 20 77 69 74 68 20 27 | 62 73 72 27 20 6f 72 20 |d with '|bsr' or |
|00000940| 27 6a 73 72 27 20 75 6e | 6c 65 73 73 20 74 68 65 |'jsr' un|less the|
|00000950| 20 77 6f 72 64 0d 0a 6d | 61 63 72 6f 20 66 6f 6c | word..m|acro fol|
|00000960| 6c 6f 77 73 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |lows the| routine|
|00000970| 20 6e 61 6d 65 20 69 6e | 20 77 68 69 63 68 20 63 | name in| which c|
|00000980| 61 73 65 20 69 74 20 69 | 73 20 61 20 6d 61 63 72 |ase it i|s a macr|
|00000990| 6f 2e 20 49 66 20 61 0d | 0a 72 6f 75 74 69 6e 65 |o. If a.|.routine|
|000009a0| 20 73 61 79 73 20 27 64 | 65 73 74 72 6f 79 73 20 | says 'd|estroys |
|000009b0| 61 20 6c 6f 74 27 20 74 | 68 65 6e 20 79 6f 75 20 |a lot' t|hen you |
|000009c0| 73 68 6f 75 6c 64 20 73 | 61 76 65 20 61 6c 6c 20 |should s|ave all |
|000009d0| 74 68 65 20 72 65 67 69 | 73 74 65 72 73 0d 0a 79 |the regi|sters..y|
|000009e0| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 20 65 78 63 |ou are u|sing exc|
|000009f0| 65 70 74 20 61 37 20 77 | 68 69 63 68 20 69 73 20 |ept a7 w|hich is |
|00000a00| 6e 65 76 65 72 20 72 75 | 69 6e 65 64 2e 20 53 6f |never ru|ined. So|
|00000a10| 6d 65 20 72 6f 75 74 69 | 6e 65 20 64 65 73 63 72 |me routi|ne descr|
|00000a20| 69 70 74 69 6f 6e 73 0d | 0a 65 76 65 6e 20 63 6f |iptions.|.even co|
|00000a30| 6e 74 61 69 6e 73 20 61 | 6e 20 65 78 61 6d 70 6c |ntains a|n exampl|
|00000a40| 65 2c 20 73 6f 20 68 6f | 70 65 66 75 6c 6c 79 20 |e, so ho|pefully |
|00000a50| 74 68 65 72 65 20 77 69 | 6c 6c 20 62 65 20 6e 6f |there wi|ll be no|
|00000a60| 20 70 72 6f 62 6c 65 6d | 73 0d 0a 75 6e 64 65 72 | problem|s..under|
|00000a70| 73 74 61 6e 64 69 6e 67 | 20 74 68 65 6d 2e 0d 0a |standing| them...|
|00000a80| 0d 0a 0d 0a 5c 73 65 63 | 74 69 6f 6e 7b 52 6f 75 |....\sec|tion{Rou|
|00000a90| 74 69 6e 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e |tine des|cription|
|00000aa0| 73 7d 0d 0a 0d 0a 0d 0a | 5c 66 69 6c 65 0d 0a 20 |s}......|\file.. |
|00000ab0| 43 61 63 68 65 2e 53 0d | 0a 0d 0a 09 43 61 63 68 |Cache.S.|....Cach|
|00000ac0| 65 20 65 71 75 61 74 65 | 73 2e 20 59 6f 75 27 6c |e equate|s. You'l|
|00000ad0| 6c 20 6e 65 65 64 20 64 | 65 76 70 61 63 20 33 20 |l need d|evpac 3 |
|00000ae0| 66 6f 72 20 74 68 69 73 | 20 6f 6e 65 20 49 20 74 |for this| one I t|
|00000af0| 68 69 6e 6b 2e 0d 0a 09 | 48 65 72 65 20 74 68 65 |hink....|Here the|
|00000b00| 79 20 61 72 65 3a 0d 0a | 5c 5c 0d 0a 5c 65 71 75 |y are:..|\\..\equ|
|00000b10| 0d 0a 09 20 45 4e 41 42 | 4c 45 5c 5f 43 41 43 48 |... ENAB|LE\_CACH|
|00000b20| 45 09 09 45 51 55 20 31 | 20 20 20 0d 0a 5c 65 71 |E..EQU 1| ..\eq|
|00000b30| 75 0d 0a 09 20 46 52 45 | 45 5a 45 5c 5f 43 41 43 |u... FRE|EZE\_CAC|
|00000b40| 48 45 09 09 45 51 55 20 | 32 20 20 0d 0a 5c 65 71 |HE..EQU |2 ..\eq|
|00000b50| 75 09 20 0d 0a 09 20 43 | 4c 45 41 52 5c 5f 49 4e |u. ... C|LEAR\_IN|
|00000b60| 53 54 5c 5f 43 41 43 48 | 45 5c 5f 45 4e 54 52 59 |ST\_CACH|E\_ENTRY|
|00000b70| 09 45 51 55 20 34 20 20 | 20 0d 0a 5c 65 71 75 0d |.EQU 4 | ..\equ.|
|00000b80| 0a 09 20 43 4c 45 41 52 | 5c 5f 49 4e 53 54 5c 5f |.. CLEAR|\_INST\_|
|00000b90| 43 41 43 48 45 09 45 51 | 55 20 38 20 20 0d 0a 5c |CACHE.EQ|U 8 ..\|
|00000ba0| 65 71 75 0d 0a 09 20 49 | 4e 53 54 5c 5f 42 55 52 |equ... I|NST\_BUR|
|00000bb0| 53 54 5c 5f 45 4e 41 42 | 4c 45 09 45 51 55 20 31 |ST\_ENAB|LE.EQU 1|
|00000bc0| 36 20 20 0d 0a 5c 65 71 | 75 0d 0a 09 20 45 4e 41 |6 ..\eq|u... ENA|
|00000bd0| 42 4c 45 5c 5f 44 41 54 | 41 5c 5f 43 41 43 48 45 |BLE\_DAT|A\_CACHE|
|00000be0| 09 45 51 55 20 32 35 36 | 20 0d 0a 5c 65 71 75 0d |.EQU 256| ..\equ.|
|00000bf0| 0a 09 20 46 52 45 45 5a | 45 5c 5f 44 41 54 41 5c |.. FREEZ|E\_DATA\|
|00000c00| 5f 43 41 43 48 45 09 45 | 51 55 20 35 31 32 20 0d |_CACHE.E|QU 512 .|
|00000c10| 0a 5c 65 71 75 0d 0a 09 | 20 43 4c 45 41 52 5c 5f |.\equ...| CLEAR\_|
|00000c20| 44 41 54 41 5c 5f 43 41 | 43 48 45 5c 5f 45 4e 54 |DATA\_CA|CHE\_ENT|
|00000c30| 52 59 09 45 51 55 20 31 | 30 32 34 20 0d 0a 5c 65 |RY.EQU 1|024 ..\e|
|00000c40| 71 75 0d 0a 09 20 43 4c | 45 41 52 5c 5f 44 41 54 |qu... CL|EAR\_DAT|
|00000c50| 41 5c 5f 43 41 43 48 45 | 09 45 51 55 20 32 30 34 |A\_CACHE|.EQU 204|
|00000c60| 38 20 0d 0a 5c 65 71 75 | 0d 0a 09 20 44 41 54 41 |8 ..\equ|... DATA|
|00000c70| 5c 5f 42 55 52 53 54 5c | 5f 45 4e 41 42 4c 45 09 |\_BURST\|_ENABLE.|
|00000c80| 45 51 55 20 34 30 39 36 | 20 0d 0a 5c 65 71 75 0d |EQU 4096| ..\equ.|
|00000c90| 0a 09 20 57 52 49 54 45 | 5c 5f 41 4c 4c 4f 43 41 |.. WRITE|\_ALLOCA|
|00000ca0| 54 45 09 09 45 51 55 20 | 38 31 39 32 20 0d 0a 5c |TE..EQU |8192 ..\|
|00000cb0| 65 78 0d 0a 20 65 78 2e | 09 6d 6f 76 65 2e 6c 20 |ex.. ex.|.move.l |
|00000cc0| 5c 23 45 4e 41 42 4c 45 | 5c 5f 43 41 43 48 45 2b |\#ENABLE|\_CACHE+|
|00000cd0| 20 45 4e 41 42 4c 45 5c | 5f 44 41 54 41 5c 5f 43 | ENABLE\|_DATA\_C|
|00000ce0| 41 43 48 45 2b 20 57 52 | 49 54 45 5c 5f 41 4c 4c |ACHE+ WR|ITE\_ALL|
|00000cf0| 4f 43 41 54 45 2c 64 30 | 20 5c 5c 0d 0a 20 20 20 |OCATE,d0| \\.. |
|00000d00| 20 20 20 6d 6f 76 65 63 | 09 64 30 2c 43 41 43 52 | movec|.d0,CACR|
|00000d10| 20 3b 20 74 75 72 6e 73 | 20 6f 6e 20 74 68 65 20 | ; turns| on the |
|00000d20| 63 61 63 68 65 73 20 0d | 0a 9c 0d 0a 0d 0a 0d 0a |caches .|........|
|00000d30| 5c 66 69 6c 65 0d 0a 20 | 43 6c 73 2e 53 0d 0a 5c |\file.. |Cls.S..\|
|00000d40| 72 6f 75 74 69 6e 0d 0a | 09 40 63 6c 73 3f 3f 3f |routin..|.@cls???|
|00000d50| 0d 0a 09 20 63 6c 65 61 | 72 73 20 3f 3f 3f 20 62 |... clea|rs ??? b|
|00000d60| 79 74 65 73 2e 0d 0a 20 | 49 6e 09 20 61 30 2e 6c |ytes... |In. a0.l|
|00000d70| 3d 73 74 61 72 74 20 61 | 64 64 72 65 73 73 0d 0a |=start a|ddress..|
|00000d80| 09 20 28 64 65 73 74 72 | 6f 79 73 20 61 20 6c 6f |. (destr|oys a lo|
|00000d90| 74 29 0d 0a 0d 0a 5c 66 | 69 6c 65 0d 0a 20 43 6f |t)....\f|ile.. Co|
|00000da0| 6e 76 70 61 6c 31 2e 53 | 0d 0a 5c 72 6f 75 74 69 |nvpal1.S|..\routi|
|00000db0| 6e 6f 75 74 0d 0a 09 40 | 63 6f 6e 76 65 72 74 5c |nout...@|convert\|
|00000dc0| 5f 73 74 70 61 6c 0d 0a | 09 43 6f 6e 76 65 72 74 |_stpal..|.Convert|
|00000dd0| 20 61 6e 20 6f 6c 64 20 | 73 74 20 63 6f 6c 6f 75 | an old |st colou|
|00000de0| 72 20 76 61 6c 75 65 20 | 74 6f 20 61 20 6e 65 77 |r value |to a new|
|00000df0| 20 66 61 6c 63 6f 6e 20 | 6f 6e 65 0d 0a 20 49 6e | falcon |one.. In|
|00000e00| 09 64 30 2e 77 3d 6f 6c | 64 20 73 74 20 63 6f 6c |.d0.w=ol|d st col|
|00000e10| 6f 75 72 0d 0a 20 4f 75 | 74 09 64 30 2e 6c 3d 66 |our.. Ou|t.d0.l=f|
|00000e20| 61 6c 63 6f 6e 20 63 6f | 6c 6f 75 72 0d 0a 09 28 |alcon co|lour...(|
|00000e30| 64 65 73 74 72 6f 79 73 | 20 64 31 2d 64 33 29 0d |destroys| d1-d3).|
|00000e40| 0a 0d 0a 0d 0a 5c 66 69 | 6c 65 0d 0a 20 43 6f 6f |.....\fi|le.. Coo|
|00000e50| 6b 69 65 2e 53 0d 0a 5c | 72 6f 75 74 69 6e 6f 75 |kie.S..\|routinou|
|00000e60| 74 0d 0a 09 40 67 65 74 | 63 6f 6f 6b 69 65 0d 0a |t...@get|cookie..|
|00000e70| 09 46 69 6e 64 73 20 61 | 6e 64 20 72 65 74 75 72 |.Finds a|nd retur|
|00000e80| 6e 73 20 61 20 43 6f 6f | 6b 69 65 2e 20 53 75 70 |ns a Coo|kie. Sup|
|00000e90| 65 72 76 69 73 6f 72 20 | 6f 6e 6c 79 21 0d 0a 20 |ervisor |only!.. |
|00000ea0| 49 6e 09 64 31 2e 6c 3d | 43 6f 6f 6b 69 65 20 6e |In.d1.l=|Cookie n|
|00000eb0| 61 6d 65 0d 0a 20 4f 75 | 74 09 64 30 2e 6c 3d 43 |ame.. Ou|t.d0.l=C|
|00000ec0| 6f 6f 6b 69 65 20 76 61 | 6c 75 65 20 6f 72 20 2d |ookie va|lue or -|
|00000ed0| 31 0d 0a 09 28 64 65 73 | 74 72 6f 79 73 20 61 30 |1...(des|troys a0|
|00000ee0| 29 0d 0a 0d 0a 0d 0a 5c | 66 69 6c 65 0d 0a 20 44 |)......\|file.. D|
|00000ef0| 73 70 6d 6f 64 2e 53 0d | 0a 5c 72 6f 75 74 69 6e |spmod.S.|.\routin|
|00000f00| 0d 0a 09 40 64 73 70 5c | 5f 70 6c 61 79 0d 0a 09 |...@dsp\|_play...|
|00000f10| 53 65 74 73 20 69 6e 74 | 65 72 75 70 74 73 20 61 |Sets int|erupts a|
|00000f20| 6e 64 20 70 6c 61 79 73 | 20 73 6f 6d 65 20 73 6f |nd plays| some so|
|00000f30| 75 6e 64 74 72 61 63 6b | 65 72 20 6d 75 73 69 63 |undtrack|er music|
|00000f40| 2e 20 4d 6f 64 75 6c 65 | 73 20 6d 75 73 74 6e 27 |. Module|s mustn'|
|00000f50| 74 20 68 61 76 65 20 0d | 0a 09 6d 6f 72 65 20 74 |t have .|..more t|
|00000f60| 68 61 6e 20 34 20 76 6f | 69 63 65 73 2e 20 53 75 |han 4 vo|ices. Su|
|00000f70| 70 65 72 76 69 73 6f 72 | 20 6f 6e 6c 79 2e 0d 0a |pervisor| only...|
|00000f80| 20 49 6e 09 61 30 2e 6c | 3d 4d 6f 64 75 6c 65 20 | In.a0.l|=Module |
|00000f90| 61 64 72 2e 0d 0a 09 28 | 64 65 73 74 72 6f 79 73 |adr....(|destroys|
|00000fa0| 20 61 20 6c 6f 74 29 0d | 0a 5c 5c 0d 0a 5c 72 6f | a lot).|.\\..\ro|
|00000fb0| 75 74 0d 0a 09 40 64 73 | 70 5c 5f 73 74 6f 70 0d |ut...@ds|p\_stop.|
|00000fc0| 0a 09 53 74 6f 70 73 20 | 70 6c 61 79 69 6e 67 20 |..Stops |playing |
|00000fd0| 74 68 65 20 6d 75 73 69 | 63 20 61 6e 64 20 72 65 |the musi|c and re|
|00000fe0| 73 74 6f 72 65 73 20 69 | 6e 74 65 72 75 70 74 73 |stores i|nterupts|
|00000ff0| 2e 0d 0a 09 53 75 70 65 | 72 76 69 73 6f 72 20 6f |....Supe|rvisor o|
|00001000| 6e 6c 79 2e 0d 0a 09 28 | 64 65 73 74 72 6f 79 73 |nly....(|destroys|
|00001010| 20 61 20 6c 6f 74 29 0d | 0a 0d 0a 0d 0a 5c 66 69 | a lot).|.....\fi|
|00001020| 6c 65 0d 0a 20 45 78 69 | 74 2e 53 0d 0a 5c 6d 61 |le.. Exi|t.S..\ma|
|00001030| 63 72 6f 0d 0a 09 40 65 | 78 69 74 69 66 73 70 61 |cro...@e|xitifspa|
|00001040| 63 65 20 20 6d 61 63 72 | 6f 0d 0a 09 20 62 72 61 |ce macr|o... bra|
|00001050| 6e 63 68 65 73 20 74 6f | 20 65 78 69 74 20 69 66 |nches to| exit if|
|00001060| 20 73 70 61 63 65 20 68 | 61 73 20 62 65 65 6e 20 | space h|as been |
|00001070| 70 72 65 73 73 65 64 2e | 20 53 75 70 65 72 76 69 |pressed.| Supervi|
|00001080| 73 6f 72 20 6f 6e 6c 79 | 21 0d 0a 09 20 28 64 65 |sor only|!... (de|
|00001090| 73 74 72 6f 79 73 20 6e | 6f 74 68 69 6e 67 29 0d |stroys n|othing).|
|000010a0| 0a 0d 0a 5c 66 69 6c 65 | 0d 0a 20 46 61 64 65 2e |...\file|.. Fade.|
|000010b0| 53 0d 0a 5c 72 6f 75 74 | 69 6e 0d 0a 09 40 66 61 |S..\rout|in...@fa|
|000010c0| 64 65 74 72 75 70 69 78 | 0d 0a 09 20 46 61 64 65 |detrupix|... Fade|
|000010d0| 73 20 61 20 74 72 75 65 | 20 63 6f 6c 6f 75 72 20 |s a true| colour |
|000010e0| 70 69 78 65 6c 73 20 66 | 72 6f 6d 20 6f 6e 65 20 |pixels f|rom one |
|000010f0| 63 6f 6c 6f 75 72 20 74 | 6f 20 61 6e 6f 74 68 65 |colour t|o anothe|
|00001100| 72 2e 0d 0a 09 20 49 74 | 20 77 69 6c 6c 20 66 61 |r.... It| will fa|
|00001110| 64 65 20 31 2f 33 31 20 | 70 61 72 74 20 65 61 63 |de 1/31 |part eac|
|00001120| 68 20 74 69 6d 65 20 79 | 6f 75 20 63 61 6c 6c 20 |h time y|ou call |
|00001130| 74 68 69 73 20 72 6f 75 | 74 2e 0d 0a 20 49 6e 09 |this rou|t... In.|
|00001140| 20 61 30 2e 6c 3d 70 6f | 69 6e 74 65 72 20 74 6f | a0.l=po|inter to|
|00001150| 20 63 6f 6c 6f 75 72 20 | 74 6f 20 63 68 61 6e 67 | colour |to chang|
|00001160| 65 5c 5c 0d 0a 09 20 61 | 31 2e 6c 3d 70 6f 69 6e |e\\... a|1.l=poin|
|00001170| 74 65 72 20 74 6f 20 74 | 61 72 67 65 74 20 63 6f |ter to t|arget co|
|00001180| 6c 6f 75 72 0d 0a 09 20 | 28 64 65 73 74 72 6f 79 |lour... |(destroy|
|00001190| 73 20 64 31 2d 64 34 3b | 20 61 64 64 73 20 32 20 |s d1-d4;| adds 2 |
|000011a0| 74 6f 20 61 30 2d 61 31 | 29 0d 0a 0d 0a 0d 0a 5c |to a0-a1|)......\|
|000011b0| 66 69 6c 65 0d 0a 20 46 | 61 64 65 32 2e 53 0d 0a |file.. F|ade2.S..|
|000011c0| 5c 72 6f 75 74 69 6e 0d | 0a 09 40 66 61 64 65 74 |\routin.|..@fadet|
|000011d0| 72 75 70 69 78 32 0d 0a | 09 20 46 61 64 65 73 20 |rupix2..|. Fades |
|000011e0| 61 20 74 72 75 65 20 63 | 6f 6c 6f 75 72 20 70 69 |a true c|olour pi|
|000011f0| 78 65 6c 73 20 66 72 6f | 6d 20 6f 6e 65 20 63 6f |xels fro|m one co|
|00001200| 6c 6f 75 72 20 74 6f 20 | 61 6e 6f 74 68 65 72 2e |lour to |another.|
|00001210| 0d 0a 09 20 49 74 20 77 | 69 6c 6c 20 66 61 64 65 |... It w|ill fade|
|00001220| 20 31 2f 33 31 20 70 61 | 72 74 20 65 61 63 68 20 | 1/31 pa|rt each |
|00001230| 74 69 6d 65 20 79 6f 75 | 20 63 61 6c 6c 20 74 68 |time you| call th|
|00001240| 69 73 20 72 6f 75 74 2e | 0d 0a 09 20 54 68 65 20 |is rout.|... The |
|00001250| 64 69 66 66 65 72 65 6e | 63 65 20 62 65 74 77 65 |differen|ce betwe|
|00001260| 65 6e 20 74 68 69 73 20 | 6f 6e 65 20 61 6e 64 20 |en this |one and |
|00001270| 46 41 44 45 2e 53 20 69 | 73 20 74 68 61 74 20 74 |FADE.S i|s that t|
|00001280| 68 69 73 20 6f 6e 65 0d | 0a 09 20 66 61 64 65 73 |his one.|.. fades|
|00001290| 20 74 77 6f 20 70 69 78 | 65 6c 73 20 61 74 20 6f | two pix|els at o|
|000012a0| 6e 63 65 20 61 6e 64 20 | 69 73 20 73 6c 69 67 68 |nce and |is sligh|
|000012b0| 74 6c 79 20 66 61 73 74 | 65 72 2e 0d 0a 20 49 6e |tly fast|er... In|
|000012c0| 09 20 61 30 2e 6c 3d 70 | 6f 69 6e 74 65 72 20 74 |. a0.l=p|ointer t|
|000012d0| 6f 20 63 6f 6c 6f 75 72 | 73 20 74 6f 20 63 68 61 |o colour|s to cha|
|000012e0| 6e 67 65 5c 5c 0d 0a 09 | 20 61 31 2e 6c 3d 70 6f |nge\\...| a1.l=po|
|000012f0| 69 6e 74 65 72 20 74 6f | 20 74 61 72 67 65 74 20 |inter to| target |
|00001300| 63 6f 6c 6f 75 72 73 0d | 0a 09 20 28 64 65 73 74 |colours.|.. (dest|
|00001310| 72 6f 79 73 20 64 31 2d | 64 34 3b 20 61 64 64 73 |roys d1-|d4; adds|
|00001320| 20 34 20 74 6f 20 61 30 | 2d 61 31 29 0d 0a 0d 0a | 4 to a0|-a1)....|
|00001330| 5c 66 69 6c 65 0d 0a 20 | 46 72 61 6d 65 2e 53 0d |\file.. |Frame.S.|
|00001340| 0a 09 54 68 69 73 20 69 | 73 20 61 20 70 72 6f 67 |..This i|s a prog|
|00001350| 72 61 6d 20 66 72 61 6d | 65 20 74 68 61 74 20 6d |ram fram|e that m|
|00001360| 61 79 20 62 65 20 75 73 | 65 64 20 61 73 20 61 20 |ay be us|ed as a |
|00001370| 73 74 61 72 74 20 66 6f | 72 0d 0a 09 6e 65 77 20 |start fo|r...new |
|00001380| 70 72 6f 67 72 61 6d 73 | 2e 20 4a 75 73 74 20 6c |programs|. Just l|
|00001390| 6f 61 64 20 69 74 20 61 | 6e 64 20 66 69 6c 6c 20 |oad it a|nd fill |
|000013a0| 69 6e 20 74 68 65 20 62 | 6c 61 6e 6b 73 20 28 74 |in the b|lanks (t|
|000013b0| 68 65 72 65 0d 0a 09 69 | 73 20 61 6c 6f 74 20 6f |here...i|s alot o|
|000013c0| 66 20 74 68 65 6d 29 2e | 0d 0a 0d 0a 5c 66 69 6c |f them).|....\fil|
|000013d0| 65 0d 0a 20 47 65 6d 2e | 53 0d 0a 5c 6d 61 63 72 |e.. Gem.|S..\macr|
|000013e0| 6f 69 6e 65 78 0d 0a 09 | 40 67 65 6d 64 6f 73 09 |oinex...|@gemdos.|
|000013f0| 6d 61 63 72 6f 0d 0a 09 | 43 61 6c 6c 73 20 74 72 |macro...|Calls tr|
|00001400| 61 70 20 5c 23 31 0d 0a | 20 49 6e 09 20 5c 23 66 |ap \#1..| In. \#f|
|00001410| 75 6e 63 74 69 6f 6e 6e | 62 72 2c 20 5c 23 73 74 |unctionn|br, \#st|
|00001420| 61 63 6b 63 6f 72 72 65 | 63 74 69 6f 6e 0d 0a 20 |ackcorre|ction.. |
|00001430| 65 78 2e 09 20 40 67 65 | 6d 64 6f 73 7e 31 2c 32 |ex.. @ge|mdos~1,2|
|00001440| 20 3b 20 77 61 69 74 73 | 20 66 6f 72 20 61 20 6b | ; waits| for a k|
|00001450| 65 79 20 9c 0d 0a 5c 5c | 0d 0a 5c 6d 61 63 72 6f |ey ...\\|..\macro|
|00001460| 69 6e 65 78 0d 0a 09 40 | 78 62 69 6f 73 09 6d 61 |inex...@|xbios.ma|
|00001470| 63 72 6f 0d 0a 09 43 61 | 6c 6c 73 20 74 72 61 70 |cro...Ca|lls trap|
|00001480| 20 5c 23 31 34 0d 0a 20 | 49 6e 09 20 5c 23 66 75 | \#14.. |In. \#fu|
|00001490| 6e 63 74 69 6f 6e 6e 62 | 72 2c 20 5c 23 73 74 61 |nctionnb|r, \#sta|
|000014a0| 63 6b 63 6f 72 72 65 63 | 74 69 6f 6e 0d 0a 20 65 |ckcorrec|tion.. e|
|000014b0| 78 2e 09 20 40 78 62 69 | 6f 73 7e 33 37 2c 32 20 |x.. @xbi|os~37,2 |
|000014c0| 3b 20 77 61 69 74 73 20 | 66 6f 72 20 76 73 79 6e |; waits |for vsyn|
|000014d0| 63 20 9c 0d 0a 5c 5c 0d | 0a 5c 6d 61 63 72 6f 69 |c ...\\.|.\macroi|
|000014e0| 6e 65 78 0d 0a 09 40 67 | 65 6d 09 6d 61 63 72 6f |nex...@g|em.macro|
|000014f0| 0d 0a 09 43 61 6c 6c 73 | 20 61 20 74 72 61 70 0d |...Calls| a trap.|
|00001500| 0a 20 49 6e 09 20 5c 23 | 66 75 6e 63 74 69 6f 6e |. In. \#|function|
|00001510| 6e 62 72 2c 20 5c 23 74 | 72 61 70 6e 62 72 2c 20 |nbr, \#t|rapnbr, |
|00001520| 5c 23 73 74 61 63 6b 63 | 6f 72 72 65 63 74 69 6f |\#stackc|orrectio|
|00001530| 6e 0d 0a 20 65 78 2e 09 | 20 40 67 65 6d 7e 31 2c |n.. ex..| @gem~1,|
|00001540| 31 2c 32 20 3b 20 77 61 | 69 74 73 20 66 6f 72 20 |1,2 ; wa|its for |
|00001550| 61 20 6b 65 79 20 9c 0d | 0a 0d 0a 0d 0a 5c 66 69 |a key ..|.....\fi|
|00001560| 6c 65 0d 0a 20 47 65 74 | 70 61 72 2e 53 09 28 69 |le.. Get|par.S.(i|
|00001570| 6e 63 6c 75 64 65 20 72 | 69 67 68 74 20 61 66 74 |nclude r|ight aft|
|00001580| 65 72 20 72 65 6c 65 61 | 73 65 6d 2e 73 29 0d 0a |er relea|sem.s)..|
|00001590| 0d 0a 09 47 65 74 73 20 | 61 6c 6c 20 70 61 72 61 |...Gets |all para|
|000015a0| 6d 65 74 65 72 73 20 73 | 65 6e 74 20 74 6f 20 74 |meters s|ent to t|
|000015b0| 68 65 20 70 72 6f 67 72 | 61 6d 2e 0d 0a 09 4d 75 |he progr|am....Mu|
|000015c0| 73 74 20 62 65 20 64 69 | 72 65 63 74 6c 79 20 61 |st be di|rectly a|
|000015d0| 66 74 65 72 20 72 65 6c | 65 61 73 65 6d 2e 5c 5c |fter rel|easem.\\|
|000015e0| 0d 0a 4f 75 74 09 61 30 | 2e 6c 3d 41 64 64 72 65 |..Out.a0|.l=Addre|
|000015f0| 73 73 20 77 68 65 72 65 | 20 74 68 65 20 70 61 72 |ss where| the par|
|00001600| 61 6d 65 74 65 72 73 20 | 61 72 65 20 6b 65 70 74 |ameters |are kept|
|00001610| 0d 0a 5c 65 78 0d 0a 20 | 65 78 2e 09 69 6e 63 6c |..\ex.. |ex..incl|
|00001620| 75 64 65 09 72 65 6c 65 | 61 73 65 6d 2e 73 20 3b |ude.rele|asem.s ;|
|00001630| 20 72 65 6c 65 61 73 65 | 20 75 6e 75 73 65 64 20 | release| unused |
|00001640| 6d 65 6d 6f 72 79 2c 20 | 74 68 69 73 20 69 73 20 |memory, |this is |
|00001650| 6c 69 6e 65 20 6e 72 20 | 31 20 6f 66 20 74 68 65 |line nr |1 of the|
|00001660| 0d 0a 09 70 72 6f 67 72 | 61 6d 5c 5c 0d 0a 20 20 |...progr|am\\.. |
|00001670| 20 69 6e 63 6c 75 64 65 | 20 67 65 74 70 61 72 2e | include| getpar.|
|00001680| 73 20 3b 20 67 65 74 20 | 61 64 72 2e 20 77 68 65 |s ; get |adr. whe|
|00001690| 72 65 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |re the p|arameter|
|000016a0| 73 20 61 72 65 20 6b 65 | 70 74 5c 5c 0d 0a 09 6d |s are ke|pt\\...m|
|000016b0| 6f 76 65 2e 6c 20 61 30 | 2c 70 61 72 61 64 72 20 |ove.l a0|,paradr |
|000016c0| 3b 20 73 61 76 65 20 74 | 68 65 20 72 65 73 75 6c |; save t|he resul|
|000016d0| 74 5c 5c 0d 0a 5c 5c 0d | 0a 09 70 61 72 61 64 72 |t\\..\\.|..paradr|
|000016e0| 20 64 73 2e 6c 20 31 0d | 0a 9c 0d 0a 0d 0a 5c 66 | ds.l 1.|......\f|
|000016f0| 69 6c 65 0d 0a 20 47 6f | 72 61 75 64 2e 53 0d 0a |ile.. Go|raud.S..|
|00001700| 5c 72 6f 75 74 69 6e 65 | 78 0d 0a 09 40 67 6f 72 |\routine|x...@gor|
|00001710| 61 75 64 0d 0a 09 44 72 | 61 77 20 61 20 67 6f 72 |aud...Dr|aw a gor|
|00001720| 61 75 64 20 73 68 61 64 | 65 64 20 70 6f 6c 79 67 |aud shad|ed polyg|
|00001730| 6f 6e 20 69 6e 20 74 72 | 75 65 20 63 6f 6c 6f 75 |on in tr|ue colou|
|00001740| 72 2e 0d 0a 09 54 68 65 | 72 65 27 73 20 6e 6f 20 |r....The|re's no |
|00001750| 63 6c 69 70 70 69 6e 67 | 20 73 6f 20 64 6f 6e 27 |clipping| so don'|
|00001760| 74 20 64 72 61 77 20 74 | 6f 6f 20 6c 61 72 67 65 |t draw t|oo large|
|00001770| 20 70 6f 6c 79 67 6f 6e | 73 2e 0d 0a 09 43 61 6c | polygon|s....Cal|
|00001780| 6c 20 40 69 6e 69 74 67 | 6f 72 61 75 64 20 6f 6e |l @initg|oraud on|
|00001790| 63 65 20 62 65 66 6f 72 | 65 20 75 73 69 6e 67 20 |ce befor|e using |
|000017a0| 74 68 69 73 20 6f 6e 65 | 21 0d 0a 5c 5c 0d 0a 20 |this one|!..\\.. |
|000017b0| 49 6e 09 61 31 2e 6c 3d | 73 63 72 65 65 6e 20 61 |In.a1.l=|screen a|
|000017c0| 64 64 72 65 73 73 5c 5c | 0d 0a 09 61 32 2e 6c 3d |ddress\\|...a2.l=|
|000017d0| 61 64 72 20 74 6f 20 63 | 6f 6c 6f 75 72 20 74 61 |adr to c|olour ta|
|000017e0| 62 6c 65 5c 5c 0d 0a 09 | 6e 65 77 5c 5f 63 72 64 |ble\\...|new\_crd|
|000017f0| 73 3d 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 61 62 6c |s=follow|ing tabl|
|00001800| 65 3a 20 5b 78 2c 79 2c | 69 5d 2a 6e 62 72 5c 5f |e: [x,y,|i]*nbr\_|
|00001810| 6f 66 5c 5f 70 6f 69 6e | 74 73 5c 5c 0d 0a 09 64 |of\_poin|ts\\...d|
|00001820| 36 2e 77 3d 6e 62 72 2e | 20 6f 66 20 70 6f 69 6e |6.w=nbr.| of poin|
|00001830| 74 73 5c 5c 0d 0a 09 78 | 72 65 73 20 65 71 75 20 |ts\\...x|res equ |
|00001840| 68 6f 72 69 7a 6f 6e 74 | 61 6c 20 72 65 73 6f 6c |horizont|al resol|
|00001850| 75 74 69 6f 6e 0d 0a 09 | 28 64 65 73 74 72 6f 79 |ution...|(destroy|
|00001860| 73 20 61 20 6c 6f 74 29 | 0d 0a 20 65 78 2e 09 20 |s a lot)|.. ex.. |
|00001870| 78 72 65 73 20 65 71 75 | 20 33 38 34 20 3b 20 6f |xres equ| 384 ; o|
|00001880| 76 65 72 73 63 61 6e 65 | 64 20 6c 6f 77 72 65 73 |verscane|d lowres|
|00001890| 20 73 63 72 65 65 6e 5c | 5c 0d 0a 09 20 62 73 72 | screen\|\... bsr|
|000018a0| 20 40 69 6e 69 74 67 6f | 72 61 75 64 20 3b 20 63 | @initgo|raud ; c|
|000018b0| 61 6c 6c 20 6f 6e 63 65 | 20 6f 6e 6c 79 5c 5c 0d |all once| only\\.|
|000018c0| 0a 09 20 6d 6f 76 65 2e | 6c 20 73 63 72 61 64 72 |.. move.|l scradr|
|000018d0| 2c 61 31 20 3b 20 73 63 | 72 65 65 6e 61 64 64 72 |,a1 ; sc|reenaddr|
|000018e0| 65 73 73 5c 5c 0d 0a 09 | 20 6d 6f 76 65 2e 6c 20 |ess\\...| move.l |
|000018f0| 5c 23 67 5c 5f 72 65 64 | 2c 61 32 20 3b 20 49 20 |\#g\_red|,a2 ; I |
|00001900| 77 61 6e 74 20 61 20 72 | 65 64 20 70 6f 6c 79 5c |want a r|ed poly\|
|00001910| 5c 0d 0a 09 20 6d 6f 76 | 65 71 20 5c 23 34 2c 64 |\... mov|eq \#4,d|
|00001920| 36 20 3b 20 66 6f 75 72 | 20 70 6f 69 6e 74 73 5c |6 ; four| points\|
|00001930| 5c 0d 0a 09 20 62 73 72 | 20 40 67 6f 72 61 75 64 |\... bsr| @goraud|
|00001940| 20 3b 20 64 72 61 77 20 | 69 74 5c 5c 0d 0a 09 20 | ; draw |it\\... |
|00001950| 6e 65 77 5c 5f 63 72 64 | 73 20 64 63 2e 77 20 31 |new\_crd|s dc.w 1|
|00001960| 30 2c 31 30 2c 30 20 3b | 20 61 20 64 61 72 6b 20 |0,10,0 ;| a dark |
|00001970| 70 6f 69 6e 74 5c 5c 0d | 0a 20 20 20 20 20 20 20 |point\\.|. |
|00001980| 20 20 20 09 20 20 64 63 | 2e 77 20 32 30 30 2c 32 | . dc|.w 200,2|
|00001990| 30 2c 5c 24 37 66 66 66 | 20 3b 20 61 20 62 72 69 |0,\$7fff| ; a bri|
|000019a0| 67 68 74 20 70 6f 69 6e | 74 5c 5c 0d 0a 09 09 20 |ght poin|t\\.... |
|000019b0| 20 64 63 2e 77 20 31 34 | 30 2c 31 34 30 2c 5c 24 | dc.w 14|0,140,\$|
|000019c0| 37 66 66 66 2f 32 5c 5c | 0d 0a 09 09 20 20 64 63 |7fff/2\\|.... dc|
|000019d0| 2e 77 20 32 35 2c 35 30 | 2c 5c 24 37 66 66 66 2f |.w 25,50|,\$7fff/|
|000019e0| 34 0d 0a 9c 09 0d 0a 0d | 0a 09 54 68 65 20 63 6f |4.......|..The co|
|000019f0| 6c 6f 75 72 74 61 62 6c | 65 20 63 6f 6e 73 69 73 |lourtabl|e consis|
|00001a00| 74 73 20 6f 66 20 33 32 | 20 77 6f 72 64 73 2c 20 |ts of 32| words, |
|00001a10| 65 61 63 68 20 61 20 74 | 72 75 65 20 63 6f 6c 6f |each a t|rue colo|
|00001a20| 75 72 20 76 61 6c 75 65 | 2e 0d 0a 09 20 77 6f 72 |ur value|.... wor|
|00001a30| 64 20 6e 72 20 30 20 69 | 73 20 74 68 65 20 64 61 |d nr 0 i|s the da|
|00001a40| 72 6b 65 73 74 20 61 6e | 64 20 77 6f 72 64 20 6e |rkest an|d word n|
|00001a50| 72 20 33 31 20 74 68 65 | 20 62 72 69 67 68 74 65 |r 31 the| brighte|
|00001a60| 73 74 2e 20 54 68 69 73 | 20 69 73 0d 0a 09 20 66 |st. This| is... f|
|00001a70| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 31 36 20 65 6d |ollowed |by 16 em|
|00001a80| 70 74 79 20 77 6f 72 64 | 73 2e 0d 0a 09 53 75 70 |pty word|s....Sup|
|00001a90| 70 6c 69 65 64 20 63 6f | 6c 6f 75 72 73 3a 20 67 |plied co|lours: g|
|00001aa0| 5c 5f 6c 69 67 68 74 72 | 65 64 2c 20 67 5c 5f 67 |\_lightr|ed, g\_g|
|00001ab0| 72 65 65 6e 2c 20 67 5c | 5f 62 72 6f 77 6e 2c 20 |reen, g\|_brown, |
|00001ac0| 67 5c 5f 77 68 69 74 65 | 0d 0a 09 6e 65 77 5c 5f |g\_white|...new\_|
|00001ad0| 63 72 64 73 20 69 73 20 | 61 20 74 61 62 6c 65 20 |crds is |a table |
|00001ae0| 74 68 61 74 20 63 6f 6e | 73 69 73 74 20 6f 66 20 |that con|sist of |
|00001af0| 61 20 70 61 69 72 20 6f | 66 20 63 6f 6f 72 64 69 |a pair o|f coordi|
|00001b00| 6e 61 74 65 73 20 66 6f | 6c 6c 6f 77 65 64 0d 0a |nates fo|llowed..|
|00001b10| 09 20 62 79 20 61 20 62 | 72 69 67 68 74 6e 65 73 |. by a b|rightnes|
|00001b20| 20 66 61 63 74 6f 72 2e | 20 54 68 65 20 62 72 69 | factor.| The bri|
|00001b30| 67 68 74 6e 65 73 20 66 | 61 63 74 6f 72 20 69 73 |ghtnes f|actor is|
|00001b40| 20 61 20 6e 75 6d 62 65 | 72 20 62 65 74 77 65 65 | a numbe|r betwee|
|00001b50| 6e 20 30 0d 0a 09 20 61 | 6e 64 20 5c 23 5c 24 37 |n 0... a|nd \#\$7|
|00001b60| 66 66 66 2e 0d 0a 5c 5c | 5c 5c 0d 0a 5c 72 6f 75 |fff...\\|\\..\rou|
|00001b70| 74 0d 0a 09 40 69 6e 69 | 74 67 6f 72 61 75 64 0d |t...@ini|tgoraud.|
|00001b80| 0a 09 20 54 68 69 73 20 | 73 75 62 72 6f 75 74 69 |.. This |subrouti|
|00001b90| 6e 65 20 6d 75 73 74 20 | 62 65 20 63 61 6c 6c 65 |ne must |be calle|
|00001ba0| 64 20 6f 6e 63 65 20 62 | 65 66 6f 72 65 20 75 73 |d once b|efore us|
|00001bb0| 69 6e 67 20 40 67 6f 72 | 61 75 64 2e 0d 0a 09 20 |ing @gor|aud.... |
|00001bc0| 28 64 65 73 74 72 6f 79 | 73 20 61 20 6c 6f 74 29 |(destroy|s a lot)|
|00001bd0| 0d 0a 0d 0a 5c 66 69 6c | 65 0d 0a 20 48 6c 69 6e |....\fil|e.. Hlin|
|00001be0| 65 31 2e 53 0d 0a 5c 72 | 6f 75 74 69 6e 65 78 0d |e1.S..\r|outinex.|
|00001bf0| 0a 09 40 64 72 61 77 68 | 6c 69 6e 65 31 0d 0a 09 |..@drawh|line1...|
|00001c00| 44 72 61 77 73 20 61 20 | 68 6f 72 69 7a 6f 6e 74 |Draws a |horizont|
|00001c10| 61 6c 20 6c 69 6e 65 20 | 69 6e 20 38 20 62 69 74 |al line |in 8 bit|
|00001c20| 70 6c 61 6e 65 20 6d 6f | 64 65 2e 20 43 6c 69 70 |plane mo|de. Clip|
|00001c30| 70 69 6e 67 20 69 73 20 | 69 6d 70 6c 65 6d 65 6e |ping is |implemen|
|00001c40| 74 65 64 2e 0d 0a 09 54 | 68 69 73 20 72 6f 75 74 |ted....T|his rout|
|00001c50| 69 6e 65 20 6f 6e 6c 79 | 20 75 73 65 73 20 74 68 |ine only| uses th|
|00001c60| 65 20 73 69 78 20 66 69 | 72 73 74 20 62 69 74 70 |e six fi|rst bitp|
|00001c70| 6c 61 6e 65 73 2e 0d 0a | 20 49 6e 09 61 30 2e 6c |lanes...| In.a0.l|
|00001c80| 3d 73 63 72 65 65 6e 61 | 64 72 20 5c 5c 20 64 30 |=screena|dr \\ d0|
|00001c90| 3d 78 6d 69 6e 20 5c 5c | 20 64 31 3d 78 6d 61 78 |=xmin \\| d1=xmax|
|00001ca0| 20 5c 5c 0d 0a 09 64 32 | 2e 6c 2d 2d 64 34 2e 6c | \\...d2|.l--d4.l|
|00001cb0| 20 3d 36 20 62 69 74 70 | 6c 61 6e 65 73 20 5c 5c | =6 bitp|lanes \\|
|00001cc0| 0d 0a 09 78 72 65 73 20 | 65 71 75 20 20 68 6f 72 |...xres |equ hor|
|00001cd0| 69 7a 6f 6e 74 61 6c 20 | 73 63 72 65 65 6e 20 72 |izontal |screen r|
|00001ce0| 65 73 6f 6c 75 74 69 6f | 6e 0d 0a 09 28 64 65 73 |esolutio|n...(des|
|00001cf0| 74 72 6f 79 73 20 64 30 | 2d 2d 64 37 2f 61 30 2d |troys d0|--d7/a0-|
|00001d00| 2d 61 31 29 0d 0a 20 65 | 78 2e 09 20 6d 6f 76 65 |-a1).. e|x.. move|
|00001d10| 2e 6c 09 73 63 72 65 65 | 6e 2b 78 72 65 73 2a 35 |.l.scree|n+xres*5|
|00001d20| 30 2c 61 30 20 3b 20 79 | 70 6f 73 3d 35 30 5c 5c |0,a0 ; y|pos=50\\|
|00001d30| 0d 0a 09 20 6d 6f 76 65 | 20 5c 23 2d 33 34 2c 64 |... move| \#-34,d|
|00001d40| 30 09 09 6c 65 66 74 20 | 78 63 6f 72 64 5c 5c 0d |0..left |xcord\\.|
|00001d50| 0a 09 20 6d 6f 76 65 20 | 5c 23 36 37 2c 64 31 09 |.. move |\#67,d1.|
|00001d60| 09 72 69 67 68 74 20 78 | 63 6f 72 64 5c 5c 0d 0a |.right x|cord\\..|
|00001d70| 09 20 6d 6f 76 65 2e 6c | 20 5c 23 5c 24 30 2c 64 |. move.l| \#\$0,d|
|00001d80| 32 09 09 64 6f 6e 27 74 | 20 73 65 74 20 62 69 74 |2..don't| set bit|
|00001d90| 70 6c 61 6e 65 20 30 20 | 6f 72 20 31 5c 5c 0d 0a |plane 0 |or 1\\..|
|00001da0| 09 20 6d 6f 76 65 2e 6c | 09 5c 23 5c 24 30 30 30 |. move.l|.\#\$000|
|00001db0| 30 66 66 66 66 2c 64 33 | 09 73 65 74 20 62 69 74 |0ffff,d3|.set bit|
|00001dc0| 70 6c 61 6e 65 20 33 5c | 5c 0d 0a 09 20 6d 6f 76 |plane 3\|\... mov|
|00001dd0| 65 2e 6c 09 5c 23 5c 24 | 66 66 66 66 66 66 66 66 |e.l.\#\$|ffffffff|
|00001de0| 2c 64 34 09 73 65 74 20 | 62 69 74 70 6c 61 6e 65 |,d4.set |bitplane|
|00001df0| 20 34 20 61 6e 64 20 35 | 5c 5c 0d 0a 09 20 62 73 | 4 and 5|\\... bs|
|00001e00| 72 20 40 64 72 61 77 68 | 6c 69 6e 65 31 0d 0a 9c |r @drawh|line1...|
|00001e10| 0d 0a 0d 0a 5c 66 69 6c | 65 0d 0a 20 49 63 65 2e |....\fil|e.. Ice.|
|00001e20| 53 0d 0a 5c 72 6f 75 74 | 69 6e 0d 0a 09 40 69 63 |S..\rout|in...@ic|
|00001e30| 65 64 65 63 72 75 6e 63 | 68 0d 0a 09 43 68 65 63 |edecrunc|h...Chec|
|00001e40| 6b 73 20 69 66 20 74 68 | 65 20 64 61 74 61 20 69 |ks if th|e data i|
|00001e50| 73 20 69 63 65 70 61 63 | 6b 65 64 20 61 6e 64 20 |s icepac|ked and |
|00001e60| 70 6f 73 73 69 62 6c 79 | 20 75 6e 70 61 63 6b 73 |possibly| unpacks|
|00001e70| 20 69 74 2e 0d 0a 20 49 | 6e 09 61 30 2e 6c 3d 44 | it... I|n.a0.l=D|
|00001e80| 61 74 61 20 61 64 72 2e | 0d 0a 09 28 64 65 73 74 |ata adr.|...(dest|
|00001e90| 72 6f 79 73 20 6e 6f 74 | 68 69 6e 67 29 0d 0a 0d |roys not|hing)...|
|00001ea0| 0a 5c 66 69 6c 65 0d 0a | 20 4c 6f 61 64 66 69 6c |.\file..| Loadfil|
|00001eb0| 65 2e 53 0d 0a 5c 72 6f | 75 74 69 6e 0d 0a 09 40 |e.S..\ro|utin...@|
|00001ec0| 6c 6f 61 64 66 69 6c 65 | 0d 0a 09 4c 6f 61 64 73 |loadfile|...Loads|
|00001ed0| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 70 6f 73 73 | a file |and poss|
|00001ee0| 69 62 6c 79 20 75 6e 70 | 61 63 6b 73 20 69 74 20 |ibly unp|acks it |
|00001ef0| 28 69 63 65 20 32 2e 34 | 30 29 2e 0d 0a 20 49 6e |(ice 2.4|0)... In|
|00001f00| 09 61 35 2e 6c 3d 61 64 | 72 2e 20 74 6f 20 61 20 |.a5.l=ad|r. to a |
|00001f10| 66 69 6c 65 6e 61 6d 65 | 20 74 65 72 6d 69 6e 61 |filename| termina|
|00001f20| 74 65 64 20 62 79 20 7a | 65 72 6f 5c 5c 0d 0a 09 |ted by z|ero\\...|
|00001f30| 61 36 2e 6c 3d 64 65 73 | 74 2e 5c 5c 0d 0a 09 64 |a6.l=des|t.\\...d|
|00001f40| 37 2e 6c 3d 66 69 6c 65 | 6c 65 6e 67 74 68 0d 0a |7.l=file|length..|
|00001f50| 09 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 |.(destro|ys a lot|
|00001f60| 29 0d 0a 09 0d 0a 0d 0a | 5c 66 69 6c 65 0d 0a 20 |).......|\file.. |
|00001f70| 52 65 6c 65 61 73 65 6d | 2e 53 0d 0a 0d 0a 09 54 |Releasem|.S.....T|
|00001f80| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 72 65 6c 65 |his rout|ine rele|
|00001f90| 61 73 65 73 20 61 6c 6c | 20 6d 65 6d 6f 72 79 20 |ases all| memory |
|00001fa0| 6e 6f 74 20 6e 65 65 64 | 65 64 20 62 79 20 74 68 |not need|ed by th|
|00001fb0| 65 20 70 72 6f 67 72 61 | 6d 2e 0d 0a 09 49 6e 63 |e progra|m....Inc|
|00001fc0| 6c 75 64 65 20 74 68 69 | 73 20 72 6f 75 74 20 61 |lude thi|s rout a|
|00001fd0| 74 20 74 68 65 20 74 6f | 70 20 6f 66 20 79 6f 75 |t the to|p of you|
|00001fe0| 72 20 70 72 6f 67 72 61 | 6d 20 61 6e 64 20 74 68 |r progra|m and th|
|00001ff0| 65 20 6d 65 6d 6f 72 79 | 0d 0a 09 77 69 6c 6c 20 |e memory|...will |
|00002000| 62 65 20 72 65 6c 65 73 | 65 64 20 70 72 6f 70 65 |be reles|ed prope|
|00002010| 72 6c 79 2e 0d 0a 5c 65 | 78 0d 0a 20 65 78 2e 09 |rly...\e|x.. ex..|
|00002020| 69 6e 63 6c 75 64 65 09 | 72 65 6c 65 61 73 65 6d |include.|releasem|
|00002030| 2e 73 20 3b 20 72 65 6c | 65 61 73 65 20 75 6e 75 |.s ; rel|ease unu|
|00002040| 73 65 64 20 6d 65 6d 6f | 72 79 2c 20 74 68 69 73 |sed memo|ry, this|
|00002050| 20 69 73 20 6c 69 6e 65 | 20 6e 72 20 31 20 6f 66 | is line| nr 1 of|
|00002060| 20 74 68 65 0d 0a 70 72 | 6f 67 72 61 6d 20 9c 0d | the..pr|ogram ..|
|00002070| 0a 0d 0a 0d 0a 5c 66 69 | 6c 65 0d 0a 20 53 61 76 |.....\fi|le.. Sav|
|00002080| 65 66 69 6c 65 2e 53 0d | 0a 5c 72 6f 75 74 69 6e |efile.S.|.\routin|
|00002090| 0d 0a 09 40 73 61 76 65 | 66 69 6c 65 0d 0a 09 53 |...@save|file...S|
|000020a0| 61 76 65 73 20 64 61 74 | 61 20 61 73 20 61 20 66 |aves dat|a as a f|
|000020b0| 69 6c 65 2e 0d 0a 20 49 | 6e 09 61 35 2e 6c 3d 61 |ile... I|n.a5.l=a|
|000020c0| 64 72 2e 20 74 69 6c 6c | 20 6e 6f 6c 6c 61 76 73 |dr. till| nollavs|
|000020d0| 6c 75 74 61 74 20 66 69 | 6c 6e 61 6d 6e 5c 5c 0d |lutat fi|lnamn\\.|
|000020e0| 0a 09 61 36 2e 6c 3d 73 | 6f 75 72 63 65 5c 5c 0d |..a6.l=s|ource\\.|
|000020f0| 0a 09 64 37 2e 6c 3d 66 | 69 6c 6c 84 6e 67 64 0d |..d7.l=f|ill.ngd.|
|00002100| 0a 09 28 64 65 73 74 72 | 6f 79 73 20 61 20 6c 6f |..(destr|oys a lo|
|00002110| 74 29 0d 0a 0d 0a 0d 0a | 5c 66 69 6c 65 0d 0a 20 |t)......|\file.. |
|00002120| 53 65 74 66 76 2e 53 0d | 0a 5c 72 6f 75 74 69 6e |Setfv.S.|.\routin|
|00002130| 6f 75 74 0d 0a 09 40 73 | 65 74 66 76 0d 0a 09 20 |out...@s|etfv... |
|00002140| 53 65 74 73 20 74 68 65 | 20 66 61 6c 63 6f 6e 20 |Sets the| falcon |
|00002150| 76 69 64 65 6f 20 72 65 | 67 69 73 74 65 72 73 2e |video re|gisters.|
|00002160| 20 54 68 65 20 64 61 74 | 61 20 74 68 61 74 20 69 | The dat|a that i|
|00002170| 73 0d 0a 09 20 77 72 69 | 74 74 65 6e 20 74 6f 20 |s... wri|tten to |
|00002180| 74 68 65 20 76 69 64 65 | 6f 20 72 65 67 69 73 74 |the vide|o regist|
|00002190| 65 72 73 20 6d 75 73 74 | 20 62 65 20 61 20 2e 46 |ers must| be a .F|
|000021a0| 56 20 28 46 61 6c 63 6f | 6e 20 56 69 64 65 6f 29 |V (Falco|n Video)|
|000021b0| 0d 0a 09 20 66 69 6c 65 | 2e 20 53 75 70 65 72 76 |... file|. Superv|
|000021c0| 69 73 6f 72 20 6f 6e 6c | 79 2e 0d 0a 20 49 6e 09 |isor onl|y... In.|
|000021d0| 20 61 30 2e 6c 3d 61 64 | 72 2e 20 74 6f 20 46 61 | a0.l=ad|r. to Fa|
|000021e0| 6c 63 6f 6e 20 56 69 64 | 65 6f 20 64 61 74 61 0d |lcon Vid|eo data.|
|000021f0| 0a 20 4f 75 74 09 20 64 | 30 2e 6c 3a 20 30 3d 6e |. Out. d|0.l: 0=n|
|00002200| 6f 20 65 72 72 6f 72 20 | 20 2d 31 3d 65 72 72 6f |o error | -1=erro|
|00002210| 72 2c 20 6e 6f 20 2e 46 | 56 20 64 61 74 61 0d 0a |r, no .F|V data..|
|00002220| 09 20 28 64 65 73 74 72 | 6f 79 73 20 64 30 2d 2d |. (destr|oys d0--|
|00002230| 64 32 2f 61 30 2d 2d 61 | 32 29 0d 0a 5c 5c 0d 0a |d2/a0--a|2)..\\..|
|00002240| 5c 72 6f 75 74 0d 0a 09 | 40 73 61 76 65 66 76 0d |\rout...|@savefv.|
|00002250| 0a 09 20 53 61 76 65 73 | 20 74 68 65 20 66 61 6c |.. Saves| the fal|
|00002260| 63 6f 6e 20 76 69 64 65 | 6f 20 72 65 67 69 73 74 |con vide|o regist|
|00002270| 65 72 73 20 74 6f 20 6d | 65 6d 6f 72 79 2e 20 53 |ers to m|emory. S|
|00002280| 75 70 65 72 76 69 73 6f | 72 20 6f 6e 6c 79 2e 0d |uperviso|r only..|
|00002290| 0a 09 20 28 64 65 73 74 | 72 6f 79 73 20 61 30 2d |.. (dest|roys a0-|
|000022a0| 2d 61 31 29 0d 0a 5c 5c | 0d 0a 5c 72 6f 75 74 0d |-a1)..\\|..\rout.|
|000022b0| 0a 09 40 72 65 73 6f 72 | 65 66 76 0d 0a 09 20 52 |..@resor|efv... R|
|000022c0| 65 73 74 6f 72 65 73 20 | 74 68 65 20 73 61 76 65 |estores |the save|
|000022d0| 64 20 66 61 6c 63 6f 6e | 20 76 69 64 65 6f 20 72 |d falcon| video r|
|000022e0| 65 67 69 73 74 65 72 73 | 2e 20 53 75 70 65 72 76 |egisters|. Superv|
|000022f0| 69 73 6f 72 20 6f 6e 6c | 79 2e 0d 0a 09 20 28 64 |isor onl|y.... (d|
|00002300| 65 73 74 72 6f 79 73 20 | 64 30 2d 2d 64 32 2f 61 |estroys |d0--d2/a|
|00002310| 30 2d 2d 61 32 29 0d 0a | 0d 0a 5c 66 69 6c 65 0d |0--a2)..|..\file.|
|00002320| 0a 20 53 65 74 76 69 64 | 65 6f 2e 53 0d 0a 5c 72 |. Setvid|eo.S..\r|
|00002330| 6f 75 74 69 6e 65 78 0d | 0a 09 40 73 65 74 76 69 |outinex.|..@setvi|
|00002340| 64 65 6f 0d 0a 09 20 53 | 61 76 65 20 61 6e 64 20 |deo... S|ave and |
|00002350| 73 65 74 20 72 65 73 6f | 6c 75 74 69 6f 6e 2e 0d |set reso|lution..|
|00002360| 0a 20 49 6e 09 20 64 37 | 2e 77 3d 6d 6f 64 65 5c |. In. d7|.w=mode\|
|00002370| 5c 0d 0a 20 20 6d 6f 64 | 65 65 71 75 61 74 65 73 |\.. mod|eequates|
|00002380| 3a 20 76 65 72 74 66 6c | 61 67 2c 20 73 74 6d 6f |: vertfl|ag, stmo|
|00002390| 64 65 73 2c 20 6f 76 65 | 72 73 63 61 6e 2c 20 70 |des, ove|rscan, p|
|000023a0| 61 6c 2c 20 76 67 61 2c | 20 63 6f 6c 38 30 2c 20 |al, vga,| col80, |
|000023b0| 62 70 73 31 2d 2d 31 36 | 0d 0a 09 20 28 78 62 69 |bps1--16|... (xbi|
|000023c0| 6f 73 2c 20 64 65 73 74 | 72 6f 79 73 20 64 30 2d |os, dest|roys d0-|
|000023d0| 2d 64 32 2f 61 30 2d 2d | 61 32 29 0d 0a 20 65 78 |-d2/a0--|a2).. ex|
|000023e0| 2e 09 20 6d 6f 76 65 20 | 5c 23 70 61 6c 2b 62 70 |.. move |\#pal+bp|
|000023f0| 73 31 36 2c 64 37 5c 5c | 0d 0a 09 20 62 73 72 20 |s16,d7\\|... bsr |
|00002400| 40 73 65 74 76 69 64 65 | 6f 20 9c 0d 0a 5c 5c 0d |@setvide|o ...\\.|
|00002410| 0a 5c 72 6f 75 74 0d 0a | 09 40 72 65 73 74 6f 72 |.\rout..|.@restor|
|00002420| 65 76 69 64 65 6f 0d 0a | 09 20 52 65 73 74 6f 72 |evideo..|. Restor|
|00002430| 65 73 20 74 68 65 20 73 | 61 76 65 64 20 72 65 73 |es the s|aved res|
|00002440| 6f 6c 75 74 69 6f 6e 2e | 0d 0a 09 20 28 78 62 69 |olution.|... (xbi|
|00002450| 6f 73 2c 20 64 65 73 74 | 72 6f 79 73 20 64 30 2d |os, dest|roys d0-|
|00002460| 2d 64 32 2f 61 30 2d 2d | 61 32 29 0d 0a 5c 5c 0d |-d2/a0--|a2)..\\.|
|00002470| 0a 5c 72 6f 75 74 69 6e | 0d 0a 09 40 73 65 74 76 |.\routin|...@setv|
|00002480| 61 64 72 0d 0a 09 20 53 | 65 74 73 20 74 68 65 20 |adr... S|ets the |
|00002490| 70 68 79 73 69 63 61 6c | 20 61 6e 64 20 6c 6f 67 |physical| and log|
|000024a0| 69 63 61 6c 20 73 63 72 | 65 65 6e 61 64 72 65 73 |ical scr|eenadres|
|000024b0| 73 2e 0d 0a 20 49 6e 09 | 20 64 30 2e 6c 3d 73 63 |s... In.| d0.l=sc|
|000024c0| 72 65 65 6e 61 64 72 2e | 0d 0a 09 20 28 78 62 69 |reenadr.|... (xbi|
|000024d0| 6f 73 2c 20 64 65 73 74 | 72 6f 79 73 20 64 30 2d |os, dest|roys d0-|
|000024e0| 2d 64 32 2f 61 30 2d 2d | 61 32 29 0d 0a 5c 5c 0d |-d2/a0--|a2)..\\.|
|000024f0| 0a 5c 72 6f 75 74 0d 0a | 09 40 73 61 76 65 76 61 |.\rout..|.@saveva|
|00002500| 64 72 0d 0a 09 20 53 61 | 76 65 73 20 74 68 65 20 |dr... Sa|ves the |
|00002510| 63 75 72 72 65 6e 74 20 | 73 63 72 65 65 6e 61 64 |current |screenad|
|00002520| 72 2e 0d 0a 09 20 28 78 | 62 69 6f 73 2c 20 64 65 |r.... (x|bios, de|
|00002530| 73 74 72 6f 79 73 20 64 | 30 2d 2d 64 32 2f 61 30 |stroys d|0--d2/a0|
|00002540| 2d 2d 61 32 29 0d 0a 5c | 5c 0d 0a 5c 72 6f 75 74 |--a2)..\|\..\rout|
|00002550| 0d 0a 09 40 72 65 73 74 | 6f 72 65 76 61 64 72 0d |...@rest|orevadr.|
|00002560| 0a 09 20 52 65 73 74 6f | 72 65 73 20 74 68 65 20 |.. Resto|res the |
|00002570| 73 61 76 65 64 20 73 63 | 72 65 65 6e 61 64 72 2e |saved sc|reenadr.|
|00002580| 0d 0a 09 20 28 78 62 69 | 6f 73 2c 20 64 65 73 74 |... (xbi|os, dest|
|00002590| 72 6f 79 73 20 64 30 2d | 2d 64 32 2f 61 30 2d 2d |roys d0-|-d2/a0--|
|000025a0| 61 32 29 0d 0a 0d 0a 0d | 0a 5c 66 69 6c 65 0d 0a |a2).....|.\file..|
|000025b0| 20 53 68 72 74 6f 6e 65 | 73 2e 53 0d 0a 5c 72 6f | Shrtone|s.S..\ro|
|000025c0| 75 74 0d 0a 09 40 73 75 | 70 65 72 0d 0a 09 20 65 |ut...@su|per... e|
|000025d0| 6e 74 65 72 20 73 75 70 | 65 72 76 69 73 6f 72 20 |nter sup|ervisor |
|000025e0| 6d 6f 64 65 20 20 28 67 | 65 6d 64 6f 73 20 5c 24 |mode (g|emdos \$|
|000025f0| 32 30 2c 20 64 65 73 74 | 72 6f 79 73 20 64 30 2d |20, dest|roys d0-|
|00002600| 64 31 2f 61 30 2d 61 31 | 29 0d 0a 09 20 5c 5c 0d |d1/a0-a1|)... \\.|
|00002610| 0a 5c 72 6f 75 74 0d 0a | 09 40 75 73 65 72 0d 0a |.\rout..|.@user..|
|00002620| 09 20 72 65 74 75 72 6e | 73 20 74 6f 20 75 73 65 |. return|s to use|
|00002630| 72 20 6d 6f 64 65 20 20 | 28 67 65 6d 64 6f 73 20 |r mode |(gemdos |
|00002640| 5c 24 32 30 2c 20 64 65 | 73 74 72 6f 79 73 20 64 |\$20, de|stroys d|
|00002650| 30 2d 64 31 2f 61 30 2d | 61 31 29 0d 0a 09 20 5c |0-d1/a0-|a1)... \|
|00002660| 5c 0d 0a 5c 72 6f 75 74 | 0d 0a 09 40 77 61 69 74 |\..\rout|...@wait|
|00002670| 76 62 6c 0d 0a 09 20 77 | 61 69 74 73 20 66 6f 72 |vbl... w|aits for|
|00002680| 20 61 20 76 65 72 74 69 | 63 61 6c 20 62 6c 61 6e | a verti|cal blan|
|00002690| 6b 20 20 28 78 62 69 6f | 73 20 5c 23 33 37 2c 20 |k (xbio|s \#37, |
|000026a0| 64 65 73 74 72 6f 79 73 | 20 64 30 2d 64 32 2f 61 |destroys| d0-d2/a|
|000026b0| 30 2d 61 32 29 0d 0a 09 | 20 5c 5c 0d 0a 5c 72 6f |0-a2)...| \\..\ro|
|000026c0| 75 74 6f 75 74 0d 0a 09 | 40 77 61 69 74 6b 65 79 |utout...|@waitkey|
|000026d0| 0d 0a 09 20 77 61 69 74 | 73 20 66 6f 72 20 61 20 |... wait|s for a |
|000026e0| 6b 65 79 70 72 65 73 73 | 2c 20 6e 6f 20 65 63 68 |keypress|, no ech|
|000026f0| 6f 20 0d 0a 20 4f 75 74 | 09 20 64 30 2e 62 3d 61 |o .. Out|. d0.b=a|
|00002700| 73 63 69 69 20 76 61 6c | 75 65 0d 0a 20 20 28 67 |scii val|ue.. (g|
|00002710| 65 6d 64 6f 73 20 5c 23 | 37 2c 20 64 65 73 74 72 |emdos \#|7, destr|
|00002720| 6f 79 73 20 61 30 29 0d | 0a 20 20 5c 5c 0d 0a 5c |oys a0).|. \\..\|
|00002730| 72 6f 75 74 0d 0a 09 40 | 65 78 69 74 69 66 6b 65 |rout...@|exitifke|
|00002740| 79 0d 0a 09 20 71 75 69 | 74 73 20 69 66 20 61 20 |y... qui|ts if a |
|00002750| 6b 65 79 20 68 61 73 20 | 62 65 65 6e 20 70 72 65 |key has |been pre|
|00002760| 73 73 65 64 0d 0a 09 20 | 28 67 65 6d 64 6f 73 20 |ssed... |(gemdos |
|00002770| 5c 23 31 31 2c 5c 23 37 | 2c 5c 23 30 2c 20 64 65 |\#11,\#7|,\#0, de|
|00002780| 73 74 72 6f 79 73 20 61 | 30 29 0d 0a 5c 5c 0d 0a |stroys a|0)..\\..|
|00002790| 5c 72 6f 75 74 0d 0a 09 | 40 71 75 69 74 0d 0a 09 |\rout...|@quit...|
|000027a0| 20 74 65 72 6d 69 6e 61 | 74 65 20 70 72 6f 63 65 | termina|te proce|
|000027b0| 73 73 20 20 28 67 65 6d | 64 6f 73 20 5c 23 30 29 |ss (gem|dos \#0)|
|000027c0| 0d 0a 5c 5c 0d 0a 5c 72 | 6f 75 74 69 6e 0d 0a 09 |..\\..\r|outin...|
|000027d0| 40 70 72 69 6e 74 0d 0a | 09 20 70 72 69 6e 74 73 |@print..|. prints|
|000027e0| 20 61 20 73 74 72 69 6e | 67 20 6f 6e 20 74 68 65 | a strin|g on the|
|000027f0| 20 73 63 72 65 65 6e 2e | 20 20 0d 0a 20 49 6e 09 | screen.| .. In.|
|00002800| 20 61 30 2e 6c 3d 61 64 | 64 72 65 73 73 20 74 6f | a0.l=ad|dress to|
|00002810| 20 61 20 6e 75 6c 6c 20 | 74 65 72 6d 69 6e 61 74 | a null |terminat|
|00002820| 65 64 20 61 73 63 69 69 | 20 73 74 72 69 6e 67 0d |ed ascii| string.|
|00002830| 0a 09 28 67 65 6d 64 6f | 73 20 5c 23 39 2c 20 64 |..(gemdo|s \#9, d|
|00002840| 65 73 74 72 6f 79 73 20 | 61 30 29 0d 0a 0d 0a 5c |estroys |a0)....\|
|00002850| 66 69 6c 65 0d 0a 20 54 | 69 6d 65 72 2e 53 0d 0a |file.. T|imer.S..|
|00002860| 5c 6d 61 63 72 6f 69 6e | 0d 0a 09 40 63 6f 6c 6f |\macroin|...@colo|
|00002870| 75 72 20 20 6d 61 63 72 | 6f 0d 0a 09 20 73 65 74 |ur macr|o... set|
|00002880| 73 20 62 61 63 6b 72 6f | 75 6e 64 20 63 6f 6c 6f |s backro|und colo|
|00002890| 75 72 20 74 6f 20 76 61 | 6c 75 65 2e 20 53 75 70 |ur to va|lue. Sup|
|000028a0| 65 72 76 69 73 6f 72 20 | 6f 6e 6c 79 21 0d 0a 20 |ervisor |only!.. |
|000028b0| 49 6e 20 76 61 6c 75 65 | 2e 6c 0d 0a 09 20 28 64 |In value|.l... (d|
|000028c0| 65 73 74 72 6f 79 73 20 | 6e 6f 74 68 69 6e 67 29 |estroys |nothing)|
|000028d0| 0d 0a 0d 0a 5c 66 69 6c | 65 0d 0a 20 54 72 69 67 |....\fil|e.. Trig|
|000028e0| 2e 53 0d 0a 0d 0a 09 41 | 6c 6c 20 72 65 73 75 6c |.S.....A|ll resul|
|000028f0| 74 73 20 61 72 65 20 74 | 61 6b 65 6e 20 66 72 6f |ts are t|aken fro|
|00002900| 6d 20 61 20 31 34 34 30 | 20 65 6e 74 72 69 65 73 |m a 1440| entries|
|00002910| 20 6c 61 72 67 65 20 6c | 6f 6f 6b 75 70 20 74 61 | large l|ookup ta|
|00002920| 62 6c 65 2e 5c 5c 0d 0a | 5c 5c 0d 0a 5c 72 6f 75 |ble.\\..|\\..\rou|
|00002930| 74 69 6e 6f 75 74 0d 0a | 09 40 73 69 6e 0d 0a 09 |tinout..|.@sin...|
|00002940| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 73 69 6e | Returns| the sin|
|00002950| 65 20 6f 66 20 61 6e 20 | 61 6e 67 6c 65 2e 0d 0a |e of an |angle...|
|00002960| 20 49 6e 09 20 64 30 2e | 77 3d 61 6e 67 6c 65 20 | In. d0.|w=angle |
|00002970| 69 6e 20 64 65 67 72 65 | 65 73 20 77 69 74 68 20 |in degre|es with |
|00002980| 73 69 78 20 64 65 63 69 | 6d 61 6c 20 62 69 74 73 |six deci|mal bits|
|00002990| 20 28 74 68 65 20 6c 65 | 67 61 6c 20 76 61 6c 75 | (the le|gal valu|
|000029a0| 65 73 20 61 72 65 0d 0a | 20 09 09 30 2d 5c 24 35 |es are..| ..0-\$5|
|000029b0| 39 66 66 20 6f 72 20 30 | 2d 33 35 39 2e 39 39 39 |9ff or 0|-359.999|
|000029c0| 20 64 65 67 72 65 65 73 | 29 20 0d 0a 20 4f 75 74 | degrees|) .. Out|
|000029d0| 09 64 31 2e 77 3d 73 69 | 6e 28 61 6e 67 6c 65 29 |.d1.w=si|n(angle)|
|000029e0| 2c 20 61 20 77 6f 72 64 | 20 77 69 74 68 20 6f 6e |, a word| with on|
|000029f0| 65 0d 0a 09 20 09 73 69 | 67 6e 20 62 69 74 20 61 |e... .si|gn bit a|
|00002a00| 6e 64 20 31 35 20 64 65 | 63 69 6d 61 6c 20 62 69 |nd 15 de|cimal bi|
|00002a10| 74 73 2e 20 28 64 65 73 | 74 72 6f 79 73 20 64 30 |ts. (des|troys d0|
|00002a20| 2f 61 30 29 0d 0a 09 20 | 09 5c 5c 0d 0a 5c 72 6f |/a0)... |.\\..\ro|
|00002a30| 75 74 69 6e 6f 75 74 65 | 78 0d 0a 09 40 63 6f 73 |utinoute|x...@cos|
|00002a40| 0d 0a 09 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |... Retu|rns the |
|00002a50| 63 6f 73 69 6e 65 20 6f | 66 20 61 6e 20 61 6e 67 |cosine o|f an ang|
|00002a60| 6c 65 2e 0d 0a 20 49 6e | 09 20 64 30 2e 77 3d 61 |le... In|. d0.w=a|
|00002a70| 6e 67 6c 65 20 69 6e 20 | 64 65 67 72 65 65 73 20 |ngle in |degrees |
|00002a80| 77 69 74 68 20 73 69 78 | 20 64 65 63 69 6d 61 6c |with six| decimal|
|00002a90| 20 62 69 74 73 20 28 74 | 68 65 20 6c 65 67 61 6c | bits (t|he legal|
|00002aa0| 20 76 61 6c 75 65 73 20 | 61 72 65 0d 0a 20 30 2d | values |are.. 0-|
|00002ab0| 5c 24 35 39 66 66 20 6f | 72 20 30 2d 33 35 39 2e |\$59ff o|r 0-359.|
|00002ac0| 39 39 39 20 64 65 67 72 | 65 65 73 29 20 0d 0a 20 |999 degr|ees) .. |
|00002ad0| 4f 75 74 20 64 31 2e 77 | 3d 73 69 6e 28 61 6e 67 |Out d1.w|=sin(ang|
|00002ae0| 6c 65 29 2c 20 61 20 77 | 6f 72 64 20 77 69 74 68 |le), a w|ord with|
|00002af0| 20 6f 6e 65 0d 0a 09 20 | 73 69 67 6e 20 62 69 74 | one... |sign bit|
|00002b00| 20 61 6e 64 20 31 35 20 | 64 65 63 69 6d 61 6c 20 | and 15 |decimal |
|00002b10| 62 69 74 73 2e 20 28 64 | 65 73 74 72 6f 79 73 20 |bits. (d|estroys |
|00002b20| 64 30 2f 61 30 29 0d 0a | 20 65 78 2e 09 6d 6f 76 |d0/a0)..| ex..mov|
|00002b30| 65 20 5c 23 31 38 30 2a | 36 34 2c 64 30 09 09 3b |e \#180*|64,d0..;|
|00002b40| 20 6d 61 6b 65 20 69 74 | 20 31 38 30 20 64 65 67 | make it| 180 deg|
|00002b50| 72 65 65 73 5c 5c 0d 0a | 09 62 73 72 20 40 73 69 |rees\\..|.bsr @si|
|00002b60| 6e 09 09 3b 20 64 31 20 | 77 69 6c 6c 20 6e 6f 77 |n..; d1 |will now|
|00002b70| 20 63 6f 6e 74 61 69 6e | 20 30 5c 5c 0d 0a 09 6d | contain| 0\\...m|
|00002b80| 6f 76 65 20 5c 23 31 38 | 30 2a 36 34 2c 64 30 09 |ove \#18|0*64,d0.|
|00002b90| 09 3b 20 64 30 20 69 73 | 20 64 65 73 74 72 6f 79 |.; d0 is| destroy|
|00002ba0| 65 64 20 73 6f 20 77 65 | 20 68 61 64 20 62 65 74 |ed so we| had bet|
|00002bb0| 74 65 72 20 65 6e 74 65 | 72 20 74 68 65 5c 5c 0d |ter ente|r the\\.|
|00002bc0| 0a 09 62 73 72 20 40 63 | 6f 73 09 09 76 61 6c 75 |..bsr @c|os..valu|
|00002bd0| 65 20 61 67 61 69 6e 20 | 3b 20 64 31 20 77 69 6c |e again |; d1 wil|
|00002be0| 6c 20 6e 6f 77 20 63 6f | 6e 74 61 69 6e 20 2d 31 |l now co|ntain -1|
|00002bf0| 20 28 5c 24 38 30 30 30 | 29 0d 0a 9c 0d 0a 0d 0a | (\$8000|).......|
|00002c00| 0d 0a 5c 66 69 6c 65 0d | 0a 20 57 69 6e 64 6f 77 |..\file.|. Window|
|00002c10| 2e 53 0d 0a 20 20 28 7b | 5c 73 63 20 56 64 69 6c |.S.. ({|\sc Vdil|
|00002c20| 69 62 7d 20 61 6e 64 20 | 7b 5c 73 63 20 41 65 73 |ib} and |{\sc Aes|
|00002c30| 6c 69 62 7d 20 6d 75 73 | 74 20 62 65 20 69 6e 63 |lib} mus|t be inc|
|00002c40| 6c 75 64 65 64 20 61 74 | 20 74 68 65 20 65 6e 64 |luded at| the end|
|00002c50| 20 6f 66 20 74 68 65 0d | 0a 70 72 6f 67 72 61 6d | of the.|.program|
|00002c60| 29 20 5c 5c 5c 5c 0d 0a | 5c 72 6f 75 74 69 6e 6f |) \\\\..|\routino|
|00002c70| 75 74 0d 0a 09 40 63 72 | 65 61 74 65 77 69 6e 64 |ut...@cr|eatewind|
|00002c80| 6f 77 0d 0a 09 43 72 65 | 61 74 65 73 20 61 6e 64 |ow...Cre|ates and|
|00002c90| 20 6f 70 65 6e 73 20 61 | 20 73 69 6d 70 6c 65 20 | opens a| simple |
|00002ca0| 67 65 6d 20 77 69 6e 64 | 6f 77 2e 0d 0a 09 54 68 |gem wind|ow....Th|
|00002cb0| 65 20 73 69 7a 65 20 28 | 78 77 69 64 74 68 2c 79 |e size (|xwidth,y|
|00002cc0| 77 69 64 74 68 29 20 69 | 73 20 74 68 65 20 77 6f |width) i|s the wo|
|00002cd0| 72 6b 61 72 65 61 20 6f | 66 20 74 68 65 20 77 69 |rkarea o|f the wi|
|00002ce0| 6e 64 6f 77 2e 0d 0a 20 | 49 6e 09 77 74 79 70 65 |ndow... |In.wtype|
|00002cf0| 20 65 71 75 20 5c 25 69 | 6e 66 6f 20 6d 6f 76 65 | equ \%i|nfo move|
|00002d00| 20 66 75 6c 6c 20 63 6c | 6f 73 65 20 6e 61 6d 65 | full cl|ose name|
|00002d10| 0d 0a 09 78 73 74 61 72 | 74 2c 79 73 74 61 72 74 |...xstar|t,ystart|
|00002d20| 2c 78 77 69 64 74 68 2c | 79 77 69 64 74 68 2c 77 |,xwidth,|ywidth,w|
|00002d30| 69 6e 64 6f 77 6e 61 6d | 65 28 73 74 72 69 6e 67 |indownam|e(string|
|00002d40| 20 74 65 72 6d 69 6e 61 | 74 65 64 20 62 79 20 30 | termina|ted by 0|
|00002d50| 29 0d 0a 20 4f 75 74 09 | 77 5c 5f 68 61 6e 64 6c |).. Out.|w\_handl|
|00002d60| 65 2c 61 70 5c 5f 69 64 | 2c 73 63 72 65 65 6e 78 |e,ap\_id|,screenx|
|00002d70| 6d 61 78 2c 73 63 72 65 | 65 6e 79 6d 61 78 0d 0a |max,scre|enymax..|
|00002d80| 09 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 |.(destro|ys a lot|
|00002d90| 29 0d 0a 09 5c 5c 0d 0a | 5c 72 6f 75 74 0d 0a 09 |)...\\..|\rout...|
|00002da0| 40 72 65 63 61 6c 63 77 | 69 6e 64 6f 77 0d 0a 09 |@recalcw|indow...|
|00002db0| 20 52 65 63 61 6c 63 75 | 6c 61 74 65 73 20 74 68 | Recalcu|lates th|
|00002dc0| 65 20 77 69 6e 64 6f 77 | 20 73 69 7a 65 2e 0d 0a |e window| size...|
|00002dd0| 09 20 28 64 65 73 74 72 | 6f 79 73 20 61 20 6c 6f |. (destr|oys a lo|
|00002de0| 74 29 0d 0a 09 20 5c 5c | 0d 0a 5c 72 6f 75 74 69 |t)... \\|..\routi|
|00002df0| 6e 0d 0a 09 40 6d 6f 76 | 65 69 74 0d 0a 09 20 4d |n...@mov|eit... M|
|00002e00| 6f 76 65 73 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |oves the| window.|
|00002e10| 20 4d 61 79 20 62 65 20 | 63 61 6c 6c 65 64 20 61 | May be |called a|
|00002e20| 74 20 65 76 65 72 79 20 | 76 6d 5c 5f 6d 6f 76 65 |t every |vm\_move|
|00002e30| 64 28 3d 32 38 29 20 65 | 76 65 6e 74 2e 0d 0a 20 |d(=28) e|vent... |
|00002e40| 49 6e 09 20 61 30 2e 6c | 3d 61 64 72 20 74 6f 20 |In. a0.l|=adr to |
|00002e50| 6d 65 73 73 61 67 65 62 | 75 66 66 65 72 0d 0a 09 |messageb|uffer...|
|00002e60| 20 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 | (destro|ys a lot|
|00002e70| 29 0d 0a 09 20 5c 5c 0d | 0a 5c 72 6f 75 74 69 6e |)... \\.|.\routin|
|00002e80| 0d 0a 09 40 64 72 61 77 | 72 73 72 63 0d 0a 09 20 |...@draw|rsrc... |
|00002e90| 44 72 61 77 73 20 74 68 | 65 20 72 73 72 63 2e 0d |Draws th|e rsrc..|
|00002ea0| 0a 09 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |.. This |function|
|00002eb0| 20 64 6f 65 73 6e 27 74 | 20 63 61 72 65 20 61 62 | doesn't| care ab|
|00002ec0| 6f 75 74 20 63 6c 69 70 | 70 69 6e 67 2c 20 73 6f |out clip|ping, so|
|00002ed0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 70 72 6f 62 | you sho|uld prob|
|00002ee0| 61 62 6c 79 20 6e 6f 74 | 20 75 73 65 20 69 74 2e |ably not| use it.|
|00002ef0| 0d 0a 20 49 6e 09 20 61 | 30 2e 6c 3d 61 64 72 20 |.. In. a|0.l=adr |
|00002f00| 74 6f 20 72 73 72 63 0d | 0a 09 20 28 64 65 73 74 |to rsrc.|.. (dest|
|00002f10| 72 6f 79 73 20 61 20 6c | 6f 74 29 0d 0a 09 20 5c |roys a l|ot)... \|
|00002f20| 5c 0d 0a 5c 72 6f 75 74 | 69 6e 0d 0a 09 40 75 70 |\..\rout|in...@up|
|00002f30| 64 61 74 65 72 73 72 63 | 0d 0a 09 20 44 72 61 77 |datersrc|... Draw|
|00002f40| 73 20 74 68 65 20 72 73 | 72 63 2e 20 55 73 65 20 |s the rs|rc. Use |
|00002f50| 74 68 69 73 20 77 68 65 | 6e 20 72 65 63 65 69 76 |this whe|n receiv|
|00002f60| 69 6e 67 20 75 70 64 61 | 74 65 20 65 76 65 6e 74 |ing upda|te event|
|00002f70| 73 28 3d 32 30 29 2e 0d | 0a 09 20 54 68 69 73 20 |s(=20)..|.. This |
|00002f80| 66 75 6e 63 74 69 6f 6e | 20 74 61 6b 65 73 20 63 |function| takes c|
|00002f90| 61 72 65 20 6f 66 20 61 | 6c 6c 20 63 6c 69 70 70 |are of a|ll clipp|
|00002fa0| 69 6e 67 2e 0d 0a 20 49 | 6e 09 20 61 30 2e 6c 3d |ing... I|n. a0.l=|
|00002fb0| 61 64 72 20 74 6f 20 72 | 73 72 63 0d 0a 09 20 28 |adr to r|src... (|
|00002fc0| 64 65 73 74 72 6f 79 73 | 20 61 20 6c 6f 74 29 0d |destroys| a lot).|
|00002fd0| 0a 09 20 5c 5c 0d 0a 5c | 72 6f 75 74 69 6e 0d 0a |.. \\..\|routin..|
|00002fe0| 09 40 74 6f 70 77 69 6e | 64 6f 77 0d 0a 09 20 41 |.@topwin|dow... A|
|00002ff0| 63 74 69 76 61 74 65 73 | 20 74 68 65 20 77 69 6e |ctivates| the win|
|00003000| 64 6f 77 2e 20 4d 61 79 | 20 62 65 20 63 61 6c 6c |dow. May| be call|
|00003010| 65 64 20 61 74 20 65 76 | 65 72 79 20 76 6d 5c 5f |ed at ev|ery vm\_|
|00003020| 74 6f 70 70 65 64 28 3d | 32 31 29 20 65 76 65 6e |topped(=|21) even|
|00003030| 74 2e 0d 0a 20 49 6e 09 | 20 61 30 2e 6c 3d 61 64 |t... In.| a0.l=ad|
|00003040| 72 20 74 6f 20 6d 65 73 | 73 61 67 65 62 75 66 66 |r to mes|sagebuff|
|00003050| 65 72 0d 0a 09 20 28 64 | 65 73 74 72 6f 79 73 20 |er... (d|estroys |
|00003060| 61 20 6c 6f 74 29 0d 0a | 09 20 5c 5c 0d 0a 5c 72 |a lot)..|. \\..\r|
|00003070| 6f 75 74 69 6e 0d 0a 09 | 40 62 6f 74 74 6f 6d 77 |outin...|@bottomw|
|00003080| 69 6e 64 6f 77 0d 0a 09 | 20 42 6f 74 74 6f 6d 73 |indow...| Bottoms|
|00003090| 20 74 68 65 20 77 69 6e | 64 6f 77 20 69 66 20 20 | the win|dow if |
|000030a0| 69 74 27 73 20 20 20 6d | 69 6e 65 2e 20 20 20 4d |it's m|ine. M|
|000030b0| 61 79 20 20 20 62 65 20 | 20 20 63 61 6c 6c 65 64 |ay be | called|
|000030c0| 20 20 20 61 74 20 20 20 | 65 76 65 72 79 0d 0a 09 | at |every...|
|000030d0| 09 76 6d 5c 5f 62 6f 74 | 74 6f 6d 65 64 5b 3d 33 |.vm\_bot|tomed[=3|
|000030e0| 33 5d 20 65 76 65 6e 74 | 2e 20 0d 0a 20 49 6e 20 |3] event|. .. In |
|000030f0| 61 30 2e 6c 3d 61 64 72 | 20 74 6f 20 6d 65 73 73 |a0.l=adr| to mess|
|00003100| 61 67 65 62 75 66 66 65 | 72 20 0d 0a 09 20 28 64 |agebuffe|r ... (d|
|00003110| 65 73 74 72 6f 79 73 20 | 61 20 6c 6f 74 29 0d 0a |estroys |a lot)..|
|00003120| 09 20 5c 5c 0d 0a 5c 72 | 6f 75 74 69 6e 6f 75 74 |. \\..\r|outinout|
|00003130| 0d 0a 09 40 62 75 74 74 | 6f 6e 0d 0a 09 20 52 65 |...@butt|on... Re|
|00003140| 74 75 72 6e 73 20 74 68 | 65 20 6f 62 6a 65 63 74 |turns th|e object|
|00003150| 20 6e 75 6d 62 65 72 20 | 74 68 61 74 20 77 61 73 | number |that was|
|00003160| 20 63 6c 69 63 6b 65 64 | 20 6f 6e 2e 20 54 68 69 | clicked| on. Thi|
|00003170| 73 20 66 75 6e 63 74 69 | 6f 6e 20 6d 61 79 20 62 |s functi|on may b|
|00003180| 65 20 63 61 6c 6c 65 64 | 0d 0a 09 20 61 74 20 65 |e called|... at e|
|00003190| 76 65 72 79 20 6d 6f 75 | 73 65 62 75 74 74 6f 6e |very mou|sebutton|
|000031a0| 20 65 76 65 6e 74 2e 0d | 0a 20 49 6e 09 20 61 30 | event..|. In. a0|
|000031b0| 2e 6c 3d 61 64 72 2e 20 | 74 6f 20 72 73 72 63 0d |.l=adr. |to rsrc.|
|000031c0| 0a 09 20 28 49 74 20 61 | 75 74 6f 6d 61 74 69 63 |.. (It a|utomatic|
|000031d0| 61 6c 6c 79 20 74 61 6b | 65 73 20 74 68 65 20 78 |ally tak|es the x|
|000031e0| 20 61 6e 64 20 79 20 63 | 6f 6f 72 64 69 6e 61 74 | and y c|oordinat|
|000031f0| 65 73 20 66 72 6f 6d 20 | 69 6e 74 5c 5f 6f 75 74 |es from |int\_out|
|00003200| 29 0d 0a 20 4f 75 74 09 | 20 64 30 2e 77 3d 6f 62 |).. Out.| d0.w=ob|
|00003210| 6a 65 63 74 20 74 68 61 | 74 20 77 61 73 20 70 72 |ject tha|t was pr|
|00003220| 65 73 73 65 64 20 6f 72 | 20 2d 31 2e 0d 0a 09 20 |essed or| -1.... |
|00003230| 28 64 65 73 74 72 6f 79 | 73 20 61 20 6c 6f 74 29 |(destroy|s a lot)|
|00003240| 0d 0a 09 20 5c 5c 0d 0a | 5c 72 6f 75 74 69 6e 6f |... \\..|\routino|
|00003250| 75 74 0d 0a 09 40 6c 6f | 61 64 72 73 72 63 0d 0a |ut...@lo|adrsrc..|
|00003260| 09 20 4c 6f 61 64 73 20 | 61 20 72 65 73 6f 75 72 |. Loads |a resour|
|00003270| 63 65 20 66 69 6c 65 20 | 61 6e 64 20 63 72 65 61 |ce file |and crea|
|00003280| 74 65 73 20 61 20 77 69 | 6e 64 6f 77 20 63 6f 6e |tes a wi|ndow con|
|00003290| 74 61 69 6e 67 20 74 68 | 65 20 6f 62 6a 65 63 74 |taing th|e object|
|000032a0| 20 69 6e 20 74 68 65 0d | 0a 09 20 66 69 6c 65 2e | in the.|.. file.|
|000032b0| 20 59 6f 75 20 64 6f 6e | 27 74 20 68 61 76 65 20 | You don|'t have |
|000032c0| 74 6f 20 63 61 6c 6c 20 | 40 63 72 65 61 74 65 77 |to call |@createw|
|000032d0| 69 6e 64 6f 77 20 69 66 | 20 79 6f 75 20 75 73 65 |indow if| you use|
|000032e0| 20 40 6c 6f 61 64 72 73 | 72 63 2e 0d 0a 20 49 6e | @loadrs|rc... In|
|000032f0| 09 20 77 74 79 70 65 20 | 65 71 75 20 5c 25 69 6e |. wtype |equ \%in|
|00003300| 66 6f 20 6d 6f 76 65 20 | 66 75 6c 6c 20 63 6c 6f |fo move |full clo|
|00003310| 73 65 20 6e 61 6d 65 5c | 5c 0d 0a 09 20 77 69 6e |se name\|\... win|
|00003320| 64 6f 77 6e 61 6d 65 20 | 28 73 74 72 69 6e 67 20 |downame |(string |
|00003330| 74 65 72 6d 69 6e 61 74 | 65 64 20 62 79 20 30 29 |terminat|ed by 0)|
|00003340| 5c 5c 0d 0a 20 09 20 61 | 30 2e 6c 3d 61 64 64 72 |\\.. . a|0.l=addr|
|00003350| 65 73 73 20 74 6f 20 61 | 20 6e 75 6c 20 74 65 72 |ess to a| nul ter|
|00003360| 6d 69 6e 61 74 65 64 20 | 66 69 6c 65 6e 61 6d 65 |minated |filename|
|00003370| 0d 0a 20 4f 75 74 09 20 | 61 30 2e 6c 3d 61 64 64 |.. Out. |a0.l=add|
|00003380| 72 65 73 73 20 74 6f 20 | 74 68 65 20 72 65 73 6f |ress to |the reso|
|00003390| 75 72 63 65 20 64 61 74 | 61 0d 0a 09 20 28 64 65 |urce dat|a... (de|
|000033a0| 73 74 72 6f 79 73 20 61 | 20 6c 6f 74 29 0d 0a 0d |stroys a| lot)...|
|000033b0| 0a 0d 0a 5c 66 69 6c 65 | 0d 0a 20 57 69 6e 65 76 |...\file|.. Winev|
|000033c0| 65 6e 74 2e 53 0d 0a 5c | 72 6f 75 74 69 6e 6f 75 |ent.S..\|routinou|
|000033d0| 74 65 78 0d 0a 09 40 64 | 6f 77 69 6e 64 6f 77 65 |tex...@d|owindowe|
|000033e0| 76 65 6e 74 73 0d 0a 09 | 20 46 6f 72 20 74 68 65 |vents...| For the|
|000033f0| 20 6c 61 7a 79 20 6f 6e | 65 2e 20 54 68 69 73 20 | lazy on|e. This |
|00003400| 66 75 6e 63 74 69 6f 6e | 20 77 61 69 74 73 20 66 |function| waits f|
|00003410| 6f 72 20 65 76 65 6e 74 | 73 20 61 6e 64 20 74 61 |or event|s and ta|
|00003420| 6b 65 73 20 63 61 72 65 | 20 6f 66 0d 0a 09 20 65 |kes care| of... e|
|00003430| 76 65 72 79 74 68 69 6e | 67 20 62 75 74 20 74 68 |verythin|g but th|
|00003440| 65 20 63 6c 6f 73 65 20 | 62 75 74 74 6f 6e 20 6f |e close |button o|
|00003450| 72 20 69 66 20 73 6f 6d | 65 6f 6e 65 20 63 6c 69 |r if som|eone cli|
|00003460| 63 6b 65 64 20 6f 6e 20 | 61 6e 20 6f 62 6a 65 63 |cked on |an objec|
|00003470| 74 2e 0d 0a 09 20 49 66 | 20 6f 6e 65 20 6f 66 20 |t.... If| one of |
|00003480| 74 68 65 73 65 20 65 76 | 65 6e 74 73 20 6f 63 63 |these ev|ents occ|
|00003490| 75 72 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 62 |ur the p|rogram b|
|000034a0| 72 61 6e 63 68 65 73 20 | 74 6f 20 63 6c 6f 73 65 |ranches |to close|
|000034b0| 65 76 65 6e 74 0d 0a 09 | 20 6f 72 20 62 75 74 74 |event...| or butt|
|000034c0| 6f 6e 65 76 65 6e 74 2e | 20 54 68 6f 73 65 20 73 |onevent.| Those s|
|000034d0| 75 62 72 6f 75 74 69 6e | 65 73 20 79 6f 75 20 68 |ubroutin|es you h|
|000034e0| 61 76 65 20 74 6f 20 6d | 61 6b 65 20 79 6f 75 72 |ave to m|ake your|
|000034f0| 73 65 6c 66 2e 0d 0a 20 | 49 6e 09 20 61 30 2e 6c |self... |In. a0.l|
|00003500| 3d 61 64 72 2e 20 74 6f | 20 72 73 72 63 5c 5c 0d |=adr. to| rsrc\\.|
|00003510| 0a 09 20 77 5c 5f 68 61 | 6e 64 6c 65 2c 20 61 70 |.. w\_ha|ndle, ap|
|00003520| 5c 5f 69 64 20 28 54 68 | 65 73 65 20 61 72 65 20 |\_id (Th|ese are |
|00003530| 63 72 65 61 74 65 64 20 | 61 75 74 6f 6d 61 74 69 |created |automati|
|00003540| 63 61 6c 6c 79 20 69 66 | 20 79 6f 75 20 75 73 65 |cally if| you use|
|00003550| 0d 0a 09 20 40 63 72 65 | 61 74 65 77 69 6e 64 6f |... @cre|atewindo|
|00003560| 77 29 0d 0a 4f 75 74 20 | 62 75 74 74 6f 6e 65 76 |w)..Out |buttonev|
|00003570| 65 6e 74 3a 20 64 30 2e | 77 3d 6e 75 6d 62 65 72 |ent: d0.|w=number|
|00003580| 20 6f 66 20 74 68 65 20 | 6f 62 6a 65 63 74 20 70 | of the |object p|
|00003590| 72 65 73 73 65 64 20 5c | 5c 0d 0a 63 6c 6f 73 65 |ressed \|\..close|
|000035a0| 65 76 65 6e 74 3a 20 6e | 6f 74 68 69 6e 67 20 28 |event: n|othing (|
|000035b0| 64 65 73 74 72 6f 79 73 | 20 61 20 6c 6f 74 29 0d |destroys| a lot).|
|000035c0| 0a 20 65 78 2e 09 3b 63 | 72 65 61 74 65 20 61 20 |. ex..;c|reate a |
|000035d0| 77 69 6e 64 6f 77 3b 5c | 5c 0d 0a 09 6d 6f 76 65 |window;\|\...move|
|000035e0| 2e 6c 20 72 73 72 63 61 | 64 72 2c 61 30 5c 5c 0d |.l rsrca|dr,a0\\.|
|000035f0| 0a 09 62 72 61 20 40 64 | 6f 77 69 6e 64 6f 77 65 |..bra @d|owindowe|
|00003600| 76 65 6e 74 73 09 3b 20 | 69 74 20 77 69 6c 6c 20 |vents.; |it will |
|00003610| 6e 65 76 65 72 20 72 65 | 74 75 72 6e 20 73 6f 20 |never re|turn so |
|00003620| 79 6f 75 20 6d 61 79 20 | 75 73 65 20 27 62 72 61 |you may |use 'bra|
|00003630| 27 20 6f 72 20 27 6a 6d | 70 27 5c 5c 0d 0a 5c 5c |' or 'jm|p'\\..\\|
|00003640| 0d 0a 20 62 75 74 74 6f | 6e 65 76 65 6e 74 09 09 |.. butto|nevent..|
|00003650| 3b 20 64 30 2e 77 20 77 | 69 6c 6c 20 63 6f 6e 74 |; d0.w w|ill cont|
|00003660| 61 69 6e 20 74 68 65 20 | 6f 62 6a 65 63 74 20 74 |ain the |object t|
|00003670| 68 61 74 20 77 61 73 20 | 70 72 65 73 73 65 64 5c |hat was |pressed\|
|00003680| 5c 0d 0a 09 63 6d 70 20 | 5c 23 31 2c 64 30 20 09 |\...cmp |\#1,d0 .|
|00003690| 3b 20 77 61 73 20 69 74 | 20 6d 79 20 62 75 74 74 |; was it| my butt|
|000036a0| 6f 6e 3f 5c 5c 0d 0a 20 | 09 62 65 71 20 6d 79 62 |on?\\.. |.beq myb|
|000036b0| 75 74 74 6f 6e 09 3b 20 | 79 65 73 21 5c 5c 0d 0a |utton.; |yes!\\..|
|000036c0| 09 72 74 73 09 09 3b 20 | 6e 6f 21 5c 5c 0d 0a 5c |.rts..; |no!\\..\|
|000036d0| 5c 0d 0a 20 63 6c 6f 73 | 65 65 76 65 6e 74 5c 5c |\.. clos|eevent\\|
|000036e0| 0d 0a 09 62 73 72 20 40 | 65 78 69 74 77 69 6e 64 |...bsr @|exitwind|
|000036f0| 6f 77 09 3b 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |ow.; clo|se windo|
|00003700| 77 5c 5c 0d 0a 09 28 72 | 73 72 63 5c 5f 66 72 65 |w\\...(r|src\_fre|
|00003710| 65 29 09 3b 20 6f 6e 6c | 79 20 69 66 20 79 6f 75 |e).; onl|y if you|
|00003720| 20 68 61 76 65 20 75 73 | 65 64 20 40 6c 6f 61 64 | have us|ed @load|
|00003730| 72 73 72 63 5c 5c 0d 0a | 09 62 72 61 20 40 71 75 |rsrc\\..|.bra @qu|
|00003740| 69 74 09 3b 20 71 75 69 | 74 0d 0a 9c 0d 0a 0d 0a |it.; qui|t.......|
|00003750| 0d 0a 0d 0a 5c 73 65 63 | 74 69 6f 6e 7b 48 69 73 |....\sec|tion{His|
|00003760| 74 6f 72 79 7d 0d 0a 0d | 0a 5c 73 75 62 73 65 63 |tory}...|.\subsec|
|00003770| 74 69 6f 6e 7b 56 65 72 | 73 69 6f 6e 20 34 7d 0d |tion{Ver|sion 4}.|
|00003780| 0a 0d 0a 54 68 69 73 20 | 5c 4c 61 54 65 58 5c 20 |...This |\LaTeX\ |
|00003790| 64 6f 63 75 6d 65 6e 74 | 20 69 73 20 6e 6f 77 20 |document| is now |
|000037a0| 69 6e 63 6c 75 64 65 64 | 2e 20 0d 0a 54 72 75 65 |included|. ..True|
|000037b0| 20 63 6f 6c 6f 75 72 20 | 66 61 64 65 20 72 6f 75 | colour |fade rou|
|000037c0| 74 20 6f 70 74 69 6d 69 | 73 65 64 20 28 61 62 6f |t optimi|sed (abo|
|000037d0| 75 74 20 32 30 5c 25 20 | 66 61 73 74 65 72 29 20 |ut 20\% |faster) |
|000037e0| 61 6e 64 0d 0a 61 20 6e | 65 77 20 74 77 6f 20 70 |and..a n|ew two p|
|000037f0| 69 78 65 6c 73 20 61 74 | 20 6f 6e 63 65 20 66 61 |ixels at| once fa|
|00003800| 64 65 72 20 74 68 61 74 | 20 69 73 20 73 6c 69 67 |der that| is slig|
|00003810| 68 74 6c 79 20 66 61 73 | 74 65 72 20 0d 0a 69 73 |htly fas|ter ..is|
|00003820| 20 61 64 64 65 64 2e 0d | 0a 41 20 70 72 6f 67 72 | added..|.A progr|
|00003830| 61 6d 20 66 72 61 6d 65 | 20 61 64 64 65 64 20 74 |am frame| added t|
|00003840| 68 61 74 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |hat may |be used |
|00003850| 61 73 20 61 20 73 74 61 | 72 74 20 66 6f 72 0d 0a |as a sta|rt for..|
|00003860| 6e 65 77 20 70 72 6f 67 | 72 61 6d 73 20 28 7b 5c |new prog|rams ({\|
|00003870| 73 63 20 46 72 61 6d 65 | 7d 29 2e 0d 0a 7b 5c 62 |sc Frame|})...{\b|
|00003880| 66 20 40 63 6f 6c 6f 75 | 72 7d 20 69 6e 20 7b 5c |f @colou|r} in {\|
|00003890| 73 63 20 54 69 6d 65 72 | 7d 20 69 73 20 63 68 61 |sc Timer|} is cha|
|000038a0| 6e 67 65 64 2e 0d 0a 7b | 5c 62 66 20 40 70 72 69 |nged...{|\bf @pri|
|000038b0| 6e 74 7d 20 69 73 20 6e | 6f 77 20 61 76 61 69 6c |nt} is n|ow avail|
|000038c0| 61 62 6c 65 20 69 6e 20 | 7b 5c 73 63 20 53 68 72 |able in |{\sc Shr|
|000038d0| 74 6f 6e 65 73 7d 2e 0d | 0a 0d 0a 5c 73 75 62 73 |tones}..|...\subs|
|000038e0| 65 63 74 69 6f 6e 7b 56 | 65 72 73 69 6f 6e 20 33 |ection{V|ersion 3|
|000038f0| 7d 0d 0a 09 09 09 0d 0a | 54 72 75 65 20 63 6f 6c |}.......|True col|
|00003900| 6f 75 72 20 66 61 64 65 | 20 72 6f 75 74 69 6e 65 |our fade| routine|
|00003910| 20 61 64 64 65 64 20 28 | 66 6f 75 6e 64 20 69 6e | added (|found in|
|00003920| 20 74 68 65 20 6a 61 67 | 64 65 6d 6f 29 2e 0d 0a | the jag|demo)...|
|00003930| 0d 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 56 65 |..\subse|ction{Ve|
|00003940| 72 73 69 6f 6e 20 32 7d | 0d 0a 09 09 09 0d 0a 54 |rsion 2}|.......T|
|00003950| 68 69 73 20 6f 6e 65 20 | 68 61 73 20 67 6f 74 20 |his one |has got |
|00003960| 61 20 66 69 6c 65 20 74 | 68 61 74 20 69 73 20 6e |a file t|hat is n|
|00003970| 65 63 65 73 73 61 72 79 | 20 74 6f 20 75 73 65 20 |ecessary| to use |
|00003980| 7b 5c 73 63 20 44 73 70 | 6d 6f 64 7d 20 61 6e 64 |{\sc Dsp|mod} and|
|00003990| 20 61 20 66 69 6c 65 0d | 0a 74 68 61 74 20 69 73 | a file.|.that is|
|000039a0| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 75 73 | necessa|ry to us|
|000039b0| 65 20 7b 5c 73 63 20 54 | 72 69 67 7d 20 69 6e 63 |e {\sc T|rig} inc|
|000039c0| 6c 75 64 65 64 2c 20 75 | 6e 66 6f 72 74 75 6e 61 |luded, u|nfortuna|
|000039d0| 74 65 6c 79 20 49 20 66 | 6f 72 67 6f 74 0d 0a 74 |tely I f|orgot..t|
|000039e0| 68 65 6d 20 69 6e 20 76 | 31 2e 20 41 20 6e 65 77 |hem in v|1. A new|
|000039f0| 20 66 75 6e 63 74 69 6f | 6e 20 69 6e 20 7b 5c 73 | functio|n in {\s|
|00003a00| 63 20 57 69 6e 64 6f 77 | 7d 2c 20 7b 5c 62 66 20 |c Window|}, {\bf |
|00003a10| 40 6c 6f 61 64 72 73 72 | 63 7d 20 6c 6f 61 64 73 |@loadrsr|c} loads|
|00003a20| 20 61 20 72 65 73 6f 75 | 72 63 65 20 66 69 6c 65 | a resou|rce file|
|00003a30| 0d 0a 61 6e 64 20 63 72 | 65 61 74 65 73 20 61 20 |..and cr|eates a |
|00003a40| 77 69 6e 64 6f 77 20 77 | 69 74 68 20 74 68 65 20 |window w|ith the |
|00003a50| 6c 6f 61 64 65 64 20 6f | 62 6a 65 63 74 20 69 6e |loaded o|bject in|
|00003a60| 20 69 74 2e 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 | it.....|\subsect|
|00003a70| 69 6f 6e 7b 56 65 72 73 | 69 6f 6e 20 31 7d 0d 0a |ion{Vers|ion 1}..|
|00003a80| 09 09 09 0d 0a 54 68 65 | 20 66 69 72 73 74 20 6f |.....The| first o|
|00003a90| 6e 65 2e 20 4c 6f 74 73 | 20 6f 66 20 66 69 6c 65 |ne. Lots| of file|
|00003aa0| 73 20 6d 69 73 73 69 6e | 67 2e 0d 0a 0d 0a 0d 0a |s missin|g.......|
|00003ab0| 5c 73 65 63 74 69 6f 6e | 7b 43 72 65 64 69 74 73 |\section|{Credits|
|00003ac0| 7d 0d 0a 0d 0a 5c 66 69 | 6c 65 20 44 73 70 6d 6f |}....\fi|le Dspmo|
|00003ad0| 64 2e 53 0d 0a 44 53 50 | 20 4d 4f 44 20 72 65 70 |d.S..DSP| MOD rep|
|00003ae0| 6c 61 79 20 72 6f 75 74 | 69 6e 65 20 77 72 69 74 |lay rout|ine writ|
|00003af0| 74 65 6e 20 62 79 20 62 | 49 54 6d 41 53 54 45 52 |ten by b|ITmASTER|
|00003b00| 20 6f 66 20 42 53 57 2e | 0d 0a 41 64 64 69 74 69 | of BSW.|..Additi|
|00003b10| 6f 6e 61 6c 20 63 6f 64 | 65 20 62 79 20 44 75 73 |onal cod|e by Dus|
|00003b20| 61 6e 2e 0d 0a 0d 0a 5c | 66 69 6c 65 20 47 6f 72 |an.....\|file Gor|
|00003b30| 61 75 64 2e 53 0d 0a 46 | 61 73 74 20 47 6f 75 72 |aud.S..F|ast Gour|
|00003b40| 61 75 64 20 73 68 61 64 | 69 6e 67 20 70 6f 6c 79 |aud shad|ing poly|
|00003b50| 67 6f 6e 20 72 6f 75 74 | 69 6e 65 73 2c 20 4a 75 |gon rout|ines, Ju|
|00003b60| 6c 79 20 31 39 39 33 20 | 62 79 20 47 72 69 66 66 |ly 1993 |by Griff|
|00003b70| 2e 0d 0a 09 0d 0a 5c 66 | 69 6c 65 20 43 61 63 68 |......\f|ile Cach|
|00003b80| 65 2e 53 0d 0a 43 61 63 | 68 65 20 65 71 75 61 74 |e.S..Cac|he equat|
|00003b90| 65 73 20 62 79 20 47 72 | 69 66 66 2e 0d 0a 09 0d |es by Gr|iff.....|
|00003ba0| 0a 5c 66 69 6c 65 20 46 | 61 64 65 2e 53 0d 0a 46 |.\file F|ade.S..F|
|00003bb0| 61 64 65 69 74 20 2d 20 | 74 72 75 65 20 63 6f 6c |adeit - |true col|
|00003bc0| 6f 75 72 20 76 65 72 73 | 68 2c 20 63 6f 64 65 64 |our vers|h, coded|
|00003bd0| 20 62 79 20 3c 47 65 6e | 69 65 21 3e 20 6f 66 20 | by <Gen|ie!> of |
|00003be0| 4e 65 74 77 6f 72 6b 20 | 54 72 61 73 68 2e 0d 0a |Network |Trash...|
|00003bf0| 0d 0a 5c 73 65 63 74 69 | 6f 6e 20 7b 41 64 64 72 |..\secti|on {Addr|
|00003c00| 65 73 73 7d 0d 0a 0d 0a | 4d 6f 73 74 20 6f 66 20 |ess}....|Most of |
|00003c10| 74 68 65 20 6f 74 68 65 | 72 20 73 74 75 66 66 20 |the othe|r stuff |
|00003c20| 61 6e 64 20 70 75 74 74 | 69 6e 67 20 65 76 65 72 |and putt|ing ever|
|00003c30| 79 74 68 69 6e 67 20 74 | 6f 67 65 74 68 65 72 20 |ything t|ogether |
|00003c40| 77 61 73 0d 0a 6d 61 64 | 65 20 62 79 20 4a 6f 68 |was..mad|e by Joh|
|00003c50| 61 6e 20 4b 61 72 6c 73 | 73 6f 6e 2e 20 41 6e 79 |an Karls|son. Any|
|00003c60| 20 63 6f 6e 74 72 69 62 | 75 74 69 6f 6e 73 20 61 | contrib|utions a|
|00003c70| 72 65 20 76 65 72 79 20 | 77 65 6c 63 6f 6d 65 2c |re very |welcome,|
|00003c80| 20 6d 79 20 61 64 64 72 | 65 73 73 0d 0a 69 73 3a | my addr|ess..is:|
|00003c90| 0d 0a 0d 0a 5c 62 65 67 | 69 6e 7b 63 65 6e 74 65 |....\beg|in{cente|
|00003ca0| 72 7d 0d 0a 65 6d 61 69 | 6c 3a 20 64 39 32 6a 6b |r}..emai|l: d92jk|
|00003cb0| 40 65 66 64 2e 6c 74 68 | 2e 73 65 0d 0a 5c 65 6e |@efd.lth|.se..\en|
|00003cc0| 64 7b 63 65 6e 74 65 72 | 7d 0d 0a 0d 0a 5c 62 65 |d{center|}....\be|
|00003cd0| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 0d 0a 53 6e 61 |gin{cent|er}..Sna|
|00003ce0| 69 6c 4d 61 69 6c 3a 5c | 5c 0d 0a 4d 61 67 69 73 |ilMail:\|\..Magis|
|00003cf0| 74 72 61 74 73 76 2e 20 | 35 35 20 58 31 31 32 5c |tratsv. |55 X112\|
|00003d00| 5c 0d 0a 32 32 36 20 34 | 34 20 4c 75 6e 64 5c 5c |\..226 4|4 Lund\\|
|00003d10| 0d 0a 53 57 45 44 45 4e | 0d 0a 5c 65 6e 64 7b 63 |..SWEDEN|..\end{c|
|00003d20| 65 6e 74 65 72 7d 0d 0a | 0d 0a 5c 62 65 67 69 6e |enter}..|..\begin|
|00003d30| 7b 63 65 6e 74 65 72 7d | 0d 0a 54 65 6c 65 70 68 |{center}|..Teleph|
|00003d40| 6f 6e 65 3a 20 28 30 29 | 34 36 20 33 39 32 30 31 |one: (0)|46 39201|
|00003d50| 37 0d 0a 5c 65 6e 64 7b | 63 65 6e 74 65 72 7d 0d |7..\end{|center}.|
|00003d60| 0a 0d 0a 0d 0a 0d 0a 0d | 0a 0d 0a 5c 65 6e 64 7b |........|...\end{|
|00003d70| 64 6f 63 75 6d 65 6e 74 | 7d 0d 0a |document|}.. |
+--------+-------------------------+-------------------------+--------+--------+